1
1
<?php
2
2
3
- namespace Interop \ Async \Loop ;
3
+ namespace AsyncInterop \Loop ;
4
4
5
5
if (!defined ("SIGUSR1 " )) {
6
6
define ("SIGUSR1 " , 30 );
@@ -206,7 +206,7 @@ function provideRegistrationArgs()
206
206
207
207
return $ args ;
208
208
}
209
-
209
+
210
210
/**
211
211
* @requires PHP 7
212
212
* @dataProvider provideRegistrationArgs
@@ -549,7 +549,7 @@ function testExecutionOrderGuarantees()
549
549
$ loop ->onWritable (STDIN , $ f (0 , 5 ));
550
550
$ writ1 = $ loop ->onWritable (STDIN , $ f (0 , 5 ));
551
551
$ writ2 = $ loop ->onWritable (STDIN , $ f (0 , 5 ));
552
-
552
+
553
553
$ loop ->delay ($ msDelay = 0 , $ f (0 , 5 ));
554
554
$ del1 = $ loop ->delay ($ msDelay = 0 , $ f (0 , 5 ));
555
555
$ del2 = $ loop ->delay ($ msDelay = 0 , $ f (0 , 5 ));
@@ -585,7 +585,7 @@ function testExecutionOrderGuarantees()
585
585
$ loop ->enable ($ del4 );
586
586
$ loop ->onWritable (STDIN , $ f (1 , 3 ));
587
587
});
588
-
588
+
589
589
$ loop ->delay ($ msDelay = 1000 , $ f (4 , 1 ));
590
590
$ loop ->delay ($ msDelay = 600 , $ f (3 , 0 ));
591
591
$ loop ->delay ($ msDelay = 500 , $ f (2 , 1 ));
@@ -662,7 +662,7 @@ function testSignalExecutionOrder()
662
662
});
663
663
}
664
664
665
- /** @expectedException \Interop\Async \Loop\InvalidWatcherException */
665
+ /** @expectedException \AsyncInterop \Loop\InvalidWatcherException */
666
666
function testExceptionOnEnableNonexistentWatcher ()
667
667
{
668
668
try {
@@ -683,7 +683,7 @@ function testSuccessOnCancelNonexistentWatcher()
683
683
$ this ->loop ->cancel ("nonexistentWatcher " );
684
684
}
685
685
686
- /** @expectedException \Interop\Async \Loop\InvalidWatcherException */
686
+ /** @expectedException \AsyncInterop \Loop\InvalidWatcherException */
687
687
function testExceptionOnReferenceNonexistentWatcher ()
688
688
{
689
689
try {
@@ -694,7 +694,7 @@ function testExceptionOnReferenceNonexistentWatcher()
694
694
}
695
695
}
696
696
697
- /** @expectedException \Interop\Async \Loop\InvalidWatcherException */
697
+ /** @expectedException \AsyncInterop \Loop\InvalidWatcherException */
698
698
function testExceptionOnUnreferenceNonexistentWatcher ()
699
699
{
700
700
try {
@@ -705,7 +705,7 @@ function testExceptionOnUnreferenceNonexistentWatcher()
705
705
}
706
706
}
707
707
708
- /** @expectedException \Interop\Async \Loop\InvalidWatcherException */
708
+ /** @expectedException \AsyncInterop \Loop\InvalidWatcherException */
709
709
function testWatcherInvalidityOnDefer () {
710
710
$ this ->start (function (Driver $ loop ) {
711
711
$ loop ->defer (function ($ watcher ) use ($ loop ) {
@@ -714,7 +714,7 @@ function testWatcherInvalidityOnDefer() {
714
714
});
715
715
}
716
716
717
- /** @expectedException \Interop\Async \Loop\InvalidWatcherException */
717
+ /** @expectedException \AsyncInterop \Loop\InvalidWatcherException */
718
718
function testWatcherInvalidityOnDelay () {
719
719
$ this ->start (function (Driver $ loop ) {
720
720
$ loop ->delay ($ msDelay = 0 , function ($ watcher ) use ($ loop ) {
0 commit comments