diff options
Diffstat (limited to 'assets/php/vendor/react/event-loop/tests/Timer/ExtEventTimerTest.php')
-rw-r--r-- | assets/php/vendor/react/event-loop/tests/Timer/ExtEventTimerTest.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/assets/php/vendor/react/event-loop/tests/Timer/ExtEventTimerTest.php b/assets/php/vendor/react/event-loop/tests/Timer/ExtEventTimerTest.php new file mode 100644 index 0000000..a7a6d00 --- /dev/null +++ b/assets/php/vendor/react/event-loop/tests/Timer/ExtEventTimerTest.php @@ -0,0 +1,17 @@ +<?php + +namespace React\Tests\EventLoop\Timer; + +use React\EventLoop\ExtEventLoop; + +class ExtEventTimerTest extends AbstractTimerTest +{ + public function createLoop() + { + if (!extension_loaded('event')) { + $this->markTestSkipped('ext-event tests skipped because ext-event is not installed.'); + } + + return new ExtEventLoop(); + } +} |