chore(deps): update dependency infection/infection to ^0.33.0 #306
Annotations
8 warnings
|
Infection:
src/TestCheck/EveryTestInheritsFromTestCaseBaseClass.php#L47
Escaped Mutant for Mutator "Continue_":
@@ @@
}
if ($classReflection->getName() === $this->testCaseBaseClass) {
- continue;
+ break;
}
$this->assertParentClass($testCaseContext, $classReflection, $parentClassReflection);
|
|
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L79
Escaped Mutant for Mutator "ConcatOperandRemoval":
@@ @@
$testCaseContext::fail(
sprintf(
- 'Test "%s" is in the wrong namespace, ' .
- '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 "Concat":
@@ @@
$testCaseContext::fail(
sprintf(
- 'Test "%s" is in the wrong namespace, ' .
- 'has name different from tested class or is missing CoversClass attribute',
+ '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#L74
Escaped Mutant for Mutator "Continue_":
@@ @@
}
if (class_exists($coveredClassName) || trait_exists($coveredClassName)) {
- continue;
+ break;
}
$testCaseContext::fail(
|
|
Infection:
src/TestCheck/EveryTestHasSameNamespaceAsCoveredClass.php#L56
Escaped Mutant for Mutator "Continue_":
@@ @@
}
if ($hasCoversNothing || $hasCovers) {
- continue;
+ break;
}
$className = $classReflection->getName();
|
|
Infection:
src/TestCheck/EveryTestHasGroup.php#L69
Escaped Mutant for Mutator "Continue_":
@@ @@
}
if ($this->supportedGroups === null) {
- continue;
+ break;
}
$testCaseContext::assertContains(
|
|
Infection:
src/TestCheck/EveryTestHasGroup.php#L65
Escaped Mutant for Mutator "Continue_":
@@ @@
) {
$hasRequiredGroup = true;
- continue;
+ break;
}
if ($this->supportedGroups === null) {
|
|
Infection:
src/Stub.php#L113
Escaped Mutant for Mutator "Identical":
@@ @@
* @phpstan-var ReflectionClass<T>|false $parentClass
*/
$parentClass = $reflection->getParentClass();
- if ($parentClass === false) {
+ if ($parentClass !== false) {
return $properties;
}
|