Differentiate signaturePrototype and inheritancePrototype #25617
Triggered via pull request
February 16, 2026 15:03
Status
Failure
Total duration
12m 55s
Artifacts
–
tests.yml
on: pull_request
Matrix: Tests PHPUnit 12.x
Determine levels tests matrix
36s
Matrix: Integration tests
Matrix: Tests PHPUnit 11.x
Matrix: Tests with old PHPUnit
Matrix: Mutation Testing
Matrix: Levels tests
Annotations
2 errors and 4 warnings
|
Mutation Testing (8.4, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.3, ubuntu-latest)
Process completed with exit code 1.
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Rules/Methods/OverridingMethodRule.php#L152
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
->nonIgnorable()
->identifier('method.parentMethodFinal')
->build();
- } elseif ($inheritancePrototype->isFinal()->yes()) {
+ } elseif (!$inheritancePrototype->isFinal()->no()) {
$messages[] = RuleErrorBuilder::message(sprintf(
'Method %s::%s() overrides @Final method %s::%s().',
$method->getDeclaringClass()->getDisplayName(),
|
|
Mutation Testing (8.4, ubuntu-latest):
src/Rules/Methods/OverridingMethodRule.php#L141
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
})
->build();
}
- if ($inheritancePrototype->isFinalByKeyword()->yes()) {
+ if (!$inheritancePrototype->isFinalByKeyword()->no()) {
$messages[] = RuleErrorBuilder::message(sprintf(
'Method %s::%s() overrides final method %s::%s().',
$method->getDeclaringClass()->getDisplayName(),
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Rules/Methods/OverridingMethodRule.php#L152
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
->nonIgnorable()
->identifier('method.parentMethodFinal')
->build();
- } elseif ($inheritancePrototype->isFinal()->yes()) {
+ } elseif (!$inheritancePrototype->isFinal()->no()) {
$messages[] = RuleErrorBuilder::message(sprintf(
'Method %s::%s() overrides @Final method %s::%s().',
$method->getDeclaringClass()->getDisplayName(),
|
|
Mutation Testing (8.3, ubuntu-latest):
src/Rules/Methods/OverridingMethodRule.php#L141
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator":
@@ @@
})
->build();
}
- if ($inheritancePrototype->isFinalByKeyword()->yes()) {
+ if (!$inheritancePrototype->isFinalByKeyword()->no()) {
$messages[] = RuleErrorBuilder::message(sprintf(
'Method %s::%s() overrides final method %s::%s().',
$method->getDeclaringClass()->getDisplayName(),
|