Skip to content

Commit 6273687

Browse files
Merge branch '4.4' into 5.2
* 4.4: Leverage str_contains/str_starts_with Leverage str_ends_with
1 parent 4105f5c commit 6273687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Transport/AmqpExtIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ private function waitForOutput(Process $process, string $output, $timeoutInSecon
208208
$timedOutTime = time() + $timeoutInSeconds;
209209

210210
while (time() < $timedOutTime) {
211-
if (0 === strpos($process->getOutput(), $output)) {
211+
if (str_starts_with($process->getOutput(), $output)) {
212212
return;
213213
}
214214

0 commit comments

Comments
 (0)