Skip to content

Commit a32c1c3

Browse files
committed
Shorten namespace to Interop\Async and correct PHP version requirement
1 parent 95c2f35 commit a32c1c3

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
/composer.lock

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "async-interop/event-loop",
3-
"description": "An event loop interface",
3+
"description": "An event loop interface for interoperability.",
44
"keywords": ["event", "loop", "async", "interop"],
55
"license": "MIT",
66
"require": {
7-
"php": ">=5.3.0"
7+
"php": ">=5.5.0"
88
},
99
"autoload": {
1010
"psr-4": {
11-
"Interop\\Async\\EventLoop\\": "src/"
11+
"Interop\\Async\\": "src"
1212
}
1313
}
1414
}

src/Loop.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\EventLoop;
3+
namespace Interop\Async;
44

55
final class Loop
66
{

src/LoopDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\EventLoop;
3+
namespace Interop\Async;
44

55
interface LoopDriver
66
{

src/UnsupportedFeatureException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use Interop\Async\EventLoop;
3+
use Interop\Async;
44

55
/**
66
* Must be thrown if an optional feature is not supported by the current driver

0 commit comments

Comments
 (0)