We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e9fe37 commit 5cb958dCopy full SHA for 5cb958d
1 file changed
tests/ExtEventLoopProcessTest.php
@@ -0,0 +1,20 @@
1
+<?php
2
+
3
+namespace React\Tests\ChildProcess;
4
5
+use React\EventLoop\ExtEventLoop;
6
7
+class ExtEventLoopProcessTest extends AbstractProcessTest
8
+{
9
+ public function createLoop()
10
+ {
11
+ if (!extension_loaded('event')) {
12
+ $this->markTestSkipped('ext-event is not installed.');
13
+ }
14
+ if (!class_exists('React\EventLoop\ExtEventLoop')) {
15
+ $this->markTestSkipped('ext-event not supported by this legacy react/event-loop version');
16
17
18
+ return new ExtEventLoop();
19
20
+}
0 commit comments