]> source.dussan.org Git - nextcloud-server.git/commitdiff
This is not javascript
authorJoas Schilling <coding@schilljs.com>
Mon, 26 Oct 2020 16:06:32 +0000 (17:06 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 26 Oct 2020 16:06:32 +0000 (17:06 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
build/integration/features/bootstrap/CommandLine.php

index d6e614be90f72501252f9afe9c5808ca1ff9715c..469410250121494bc61ed9dd065ed871efca4cec 100644 (file)
@@ -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;
                        }
                }