Skip to content

Commit ff9d6fb

Browse files
committed
Merge pull request #36 from async-interop/namespace
Shorten namespace to Interop\Async and correct PHP version requirement
2 parents 95c2f35 + 992b3e4 commit ff9d6fb

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
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)