From dd3d5829e73c90a9f3ee068ab103ed1b04f97e35 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 26 Oct 2020 17:06:32 +0100 Subject: [PATCH] This is not javascript Signed-off-by: Joas Schilling --- build/integration/features/bootstrap/CommandLine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php index d6e614be90..4694102501 100644 --- a/build/integration/features/bootstrap/CommandLine.php +++ b/build/integration/features/bootstrap/CommandLine.php @@ -106,7 +106,7 @@ trait CommandLine { $results = []; // the exception text usually appears after an "[Exception"] row foreach (explode("\n", $input) as $line) { - if (strpos($line, $text) >= 0) { + if (strpos($line, $text) !== false) { $results[] = $line; } }