Skip to content

Commit 3722726

Browse files
authored
Merge pull request #130 from joshdifabio/change-namespace
Change namespace to AsyncInterop\Loop
2 parents f784ddc + 7e708ea commit 3722726

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
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

Lines changed: 7 additions & 7 deletions
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

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\Loop;
3+
namespace AsyncInterop\Loop;
44

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

src/Loop/DriverFactory.php

Lines changed: 2 additions & 2 deletions
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

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\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

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\Loop;
3+
namespace AsyncInterop\Loop;
44

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

test/DummyDriver.php

Lines changed: 2 additions & 2 deletions
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

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\Loop;
3+
namespace AsyncInterop\Loop;
44

55
class LoopStateTest extends \PHPUnit_Framework_TestCase
66
{

test/LoopTest.php

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy