Update metadata and build config #64
Annotations
5 warnings
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;
|
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) {
|
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;
}
}
|
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));
}
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/github-script@v6, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job succeeded
Loading