Skip to content
Triggered via schedule November 20, 2023 08:23
Status Success
Total duration 12m 41s
Artifacts 1

ci.yaml

on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
2s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
Test for mutants (ubuntu-latest, 8.1): src/Finder/ConstantDeclaratorFinder.php#L35
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ private static function getDeclaringTraitFromTraits(ReflectionClass $declaringClass, ReflectionClassConstant $constantReflector) : array { $possibleByTrait = []; - foreach ($declaringClass->getTraits() as $trait) { + foreach (array() as $trait) { $name = $constantReflector->getName(); if (!$trait->hasConstant($name)) { continue;
Test for mutants (ubuntu-latest, 8.1): src/Finder/ConstantDeclaratorFinder.php#L38
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ foreach ($declaringClass->getTraits() as $trait) { $name = $constantReflector->getName(); if (!$trait->hasConstant($name)) { - continue; + break; } $possibleByTrait[] = $usedTraits = self::getDeclaringTraitFromTraits($trait, $constantReflector); foreach ($usedTraits as $usedTrait) {
Test for mutants (ubuntu-latest, 8.1): src/Reader/AttributesMetaReader.php#L74
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ continue; } $instance = $attribute->newInstance(); - assert($instance instanceof $definitionClass); + assert(true); $instances[] = $instance; } return $instances; } }
Test for mutants (ubuntu-latest, 8.1): src/Structure/StructureBuilder.php#L113
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ $constants = []; foreach ($declaringClass->getReflectionConstants() as $constant) { if ($constant->getDeclaringClass()->getName() !== $declaringClass->getName()) { - // We don't want parent public and protected constants, they are collected individually - continue; + break; } $constants[] = new ConstantStructure($contextClass->getReflectionConstant($constant->getName()), new ClassConstantSource($constant), ConstantDeclaratorFinder::getDeclaringTraits($constant)); }

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
5.75 KB