Skip to content

Commit b9b49b3

Browse files
committed
Change namespace to AsyncInterop\Loop
1 parent 9a2d30c commit b9b49b3

9 files changed

+19
-19
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
},
1414
"autoload": {
1515
"psr-4": {
16-
"Interop\\Async\\": "src"
16+
"AsyncInterop\\": "src"
1717
}
1818
},
1919
"autoload-dev": {
2020
"psr-4": {
21-
"Interop\\Async\\Loop\\Test\\": "test"
21+
"AsyncInterop\\Loop\\Test\\": "test"
2222
}
2323
}
2424
}

src/Loop.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
22

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

5-
use Interop\Async\Loop\Driver;
6-
use Interop\Async\Loop\DriverFactory;
7-
use Interop\Async\Loop\InvalidWatcherException;
8-
use Interop\Async\Loop\UnsupportedFeatureException;
5+
use AsyncInterop\Loop\Driver;
6+
use AsyncInterop\Loop\DriverFactory;
7+
use AsyncInterop\Loop\InvalidWatcherException;
8+
use AsyncInterop\Loop\UnsupportedFeatureException;
99

1010
/**
1111
* Accessor to allow global access to the event loop.
1212
*
13-
* @see \Interop\Async\Loop\Driver
13+
* @see \AsyncInterop\Loop\Driver
1414
*/
1515
final class Loop
1616
{
@@ -64,7 +64,7 @@ public static function setFactory(DriverFactory $factory = null)
6464
*
6565
* @return void
6666
*
67-
* @see \Interop\Async\Loop::setFactory()
67+
* @see \AsyncInterop\Loop::setFactory()
6868
*/
6969
public static function execute(callable $callback, Driver $driver = null)
7070
{

src/Loop/Driver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\Loop;
3+
namespace AsyncInterop\Loop;
44

55
/**
66
* Event loop driver which implements all basic operations to allow interoperability.

src/Loop/DriverFactory.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
namespace Interop\Async\Loop;
3+
namespace AsyncInterop\Loop;
44

55
/**
66
* Allows creating new driver instances.
77
*
8-
* @see \Interop\Async\Loop::setFactory()
8+
* @see \AsyncInterop\Loop::setFactory()
99
*/
1010
interface DriverFactory
1111
{

src/Loop/InvalidWatcherException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\Loop;
3+
namespace AsyncInterop\Loop;
44

55
/**
66
* MUST be thrown if any operation (except disable() and cancel()) is attempted with an invalid watcher identifier.

src/Loop/UnsupportedFeatureException.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\Loop;
3+
namespace AsyncInterop\Loop;
44

55
/**
66
* MUST be thrown if a feature is not supported by the system.

test/DummyDriver.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Interop\Async\Loop\Test;
3+
namespace AsyncInterop\Loop\Test;
44

5-
use Interop\Async\Loop\Driver;
5+
use AsyncInterop\Loop\Driver;
66

77
class DummyDriver extends Driver
88
{

test/LoopStateTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Interop\Async\Loop;
3+
namespace AsyncInterop\Loop;
44

55
class LoopStateTest extends \PHPUnit_Framework_TestCase
66
{

test/LoopTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace Interop\Async\Loop\Test;
3+
namespace AsyncInterop\Loop\Test;
44

5-
use Interop\Async\Loop;
5+
use AsyncInterop\Loop;
66

77
class LoopTest extends \PHPUnit_Framework_TestCase
88
{

0 commit comments

Comments
 (0)