fix: Ensure the debug flag is not forwarded #103
tests.yaml
on: pull_request
Matrix: debug-test
Matrix: infection
Matrix: tests
Tests Status
0s
Annotations
2 errors and 1 warning
Infection with PHP 8.2
Process completed with exit code 2.
|
Tests Status
Process completed with exit code 1.
|
Infection with PHP 8.2:
src/Test/BaseMakefileTestCase.php#L159
Escaped Mutant for Mutator "CastString":
--- Original
+++ New
@@ @@
}
protected static final function getNonDebugMakeFlags() : string
{
- $makeFlags = (string) getenv('MAKEFLAGS');
+ $makeFlags = getenv('MAKEFLAGS');
$nonDebugFlags = array_filter(explode(' ', $makeFlags), static fn(string $flag) => str_starts_with('--debug=', $flag));
return implode(' ', $nonDebugFlags);
}
|