We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82389f8 commit 2b33281Copy full SHA for 2b33281
1 file changed
tests/bootstrap.php
@@ -35,7 +35,7 @@
35
return null;
36
})($GLOBALS['argv'] ?? []);
37
38
-$suite = \substr($suite, 0, \strpos($suite, '-'));
+$suite = \substr($suite, 0, \strpos($suite, '-') ?: \strlen($suite));
39
40
# Include related bootstrap
41
$file = __DIR__ . DIRECTORY_SEPARATOR . $suite . DIRECTORY_SEPARATOR . 'bootstrap.php';
0 commit comments