Allow PHP 8.3 #156
ci.yaml
on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Annotations
4 warnings
Test for mutants (ubuntu-latest, 8.3):
src/Dependencies/Exception/PackageRequired.php#L87
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
$self = new self();
$self->packages = $packages;
foreach ($packages as $key => $package) {
- $split = explode(':', $package, 2);
+ $split = explode(':', $package, 1);
$packageName = $split[0];
$packageVersion = $split[1] ?? self::getPackageVersion($packageName, $source);
if ($packageVersion !== null) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Dependencies/Exception/PackageRequired.php#L140
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
{
$composerJson = "{$path}/composer.json";
if (file_exists($composerJson)) {
- return json_decode(file_get_contents($composerJson), true, 512, JSON_THROW_ON_ERROR);
+ return json_decode(file_get_contents($composerJson), true, 511, JSON_THROW_ON_ERROR);
}
$parentPath = dirname($path);
if ($parentPath !== $path) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Dependencies/Exception/PackageRequired.php#L140
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
{
$composerJson = "{$path}/composer.json";
if (file_exists($composerJson)) {
- return json_decode(file_get_contents($composerJson), true, 512, JSON_THROW_ON_ERROR);
+ return json_decode(file_get_contents($composerJson), true, 513, JSON_THROW_ON_ERROR);
}
$parentPath = dirname($path);
if ($parentPath !== $path) {
|
Test for mutants (ubuntu-latest, 8.3):
src/Reflection/Classes.php#L37
Escaped Mutant for Mutator "NotIdentical":
@@ @@
{
$reflection = new ReflectionClass($class);
$dir = dirname($reflection->getFileName());
- if (DIRECTORY_SEPARATOR !== '/') {
+ if (DIRECTORY_SEPARATOR === '/') {
return str_replace(DIRECTORY_SEPARATOR, '/', $dir);
}
return $dir;
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Logs - Mutations
|
782 Bytes |
|