Skip to content

Commit 7444d23

Browse files
Merge branch '5.2' into 5.3
* 5.2: Leverage str_contains/str_starts_with Leverage str_ends_with
2 parents 28ccafc + 6273687 commit 7444d23

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)