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 f4bc80a commit 3c2e525Copy full SHA for 3c2e525
1 file changed
tests/Io/ReactiveHandlerTest.php
@@ -186,7 +186,7 @@ public function testRunWillOnlyRestartLoopAfterAwaitingWhenFibersAreNotAvailable
186
$promise = $connector->connect($addr);
187
188
// the loop will only need to be restarted if fibers are not available (PHP < 8.1)
189
- if (PHP_VERSION_ID < 80100) {
+ if (!function_exists('React\Async\async')) {
190
$logger->expects($this->once())->method('log')->with('Warning: Loop restarted. Upgrade to react/async v4 recommended for production use.');
191
} else {
192
$logger->expects($this->never())->method('log');
0 commit comments