chore(deps): update codecov/codecov-action action to v4 - autoclosed #201
Annotations
5 warnings
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L56
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$testCaseContext::fail(sprintf('Specifying CoversClass and CoversNothing attributes at the same time makes no sense (in "%s").', $filePathName));
}
if ($hasCoversNothing || $hasCovers) {
- continue;
+ break;
}
$className = $classReflection->getName();
$classNameWithoutSuffix = substr($className, 0, -4);
|
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L74
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$coveredClassName = substr_replace($classNameWithoutSuffix, '\\', $pos, strlen($this->testsNamespaceSuffix));
}
if (class_exists($coveredClassName) || trait_exists($coveredClassName)) {
- continue;
+ break;
}
$testCaseContext::fail(sprintf('Test "%s" is in the wrong namespace, ' . 'has name different from tested class or is missing CoversClass attribute', $classReflection->getName()));
}
}
}
|
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L79
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
if (class_exists($coveredClassName) || trait_exists($coveredClassName)) {
continue;
}
- $testCaseContext::fail(sprintf('Test "%s" is in the wrong namespace, ' . 'has name different from tested class or is missing CoversClass attribute', $classReflection->getName()));
+ $testCaseContext::fail(sprintf('has name different from tested class or is missing CoversClass attribute' . 'Test "%s" is in the wrong namespace, ', $classReflection->getName()));
}
}
}
|
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L79
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
if (class_exists($coveredClassName) || trait_exists($coveredClassName)) {
continue;
}
- $testCaseContext::fail(sprintf('Test "%s" is in the wrong namespace, ' . 'has name different from tested class or is missing CoversClass attribute', $classReflection->getName()));
+ $testCaseContext::fail(sprintf('Test "%s" is in the wrong namespace, ', $classReflection->getName()));
}
}
}
|
Infection:
src/TestCheck/EveryTestInheritsFromTestCaseBaseClass.php#L47
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
$testCaseContext::fail(sprintf('Test "%s" does not extend any class, use "%s" as the base class', $classReflection->getName(), $this->testCaseBaseClass));
}
if ($classReflection->getName() === $this->testCaseBaseClass) {
- continue;
+ break;
}
$this->assertParentClass($testCaseContext, $classReflection, $parentClassReflection);
}
|