diff --git a/src/Actions/MapArguments.php b/src/Actions/MapArguments.php index 57127325..f38d6668 100644 --- a/src/Actions/MapArguments.php +++ b/src/Actions/MapArguments.php @@ -82,7 +82,7 @@ final class MapArguments private static function needsCoverage(): bool { foreach ($_SERVER['argv'] as $argument) { - if(str_starts_with($argument, '--coverage')) { + if(strpos($argument, '--coverage',) === 0) { return true; } }