Skip to content

Commit f80fd66

Browse files
Merge branch '5.4' into 6.0
* 5.4: Leverage str_contains/str_starts_with Leverage str_ends_with
2 parents 3e2f7b2 + 3c07631 commit f80fd66

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
@@ -246,7 +246,7 @@ private function waitForOutput(Process $process, string $output, $timeoutInSecon
246246
$timedOutTime = time() + $timeoutInSeconds;
247247

248248
while (time() < $timedOutTime) {
249-
if (0 === strpos($process->getOutput(), $output)) {
249+
if (str_starts_with($process->getOutput(), $output)) {
250250
return;
251251
}
252252

0 commit comments

Comments
 (0)