Skip to content

Warn about incomplete versions in #[RequiresPhp] #620

Warn about incomplete versions in #[RequiresPhp]

Warn about incomplete versions in #[RequiresPhp] #620

Triggered via pull request June 18, 2026 15:47
@clxmstaabclxmstaab
synchronize #303
staabm:inc
Status Failure
Total duration 2m 5s
Artifacts

build.yml

on: pull_request
Matrix: PHPStan
Matrix: Tests
Coding Standard
27s
Coding Standard
Name Collision Detector
27s
Name Collision Detector
Matrix: Lint
Matrix: Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
Coding Standard
Process completed with exit code 2.
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.5, ubuntu-latest)
Process completed with exit code 1.
Mutation Testing (8.4, ubuntu-latest): src/Rules/PHPUnit/AttributeRequiresPhpVersionRule.php#L165
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ return false; } - if (!$this->PHPUnitVersion->warnsAboutIncompleteVersion()->yes()) { + if ($this->PHPUnitVersion->warnsAboutIncompleteVersion()->no()) { return false; }
Mutation Testing (8.3, ubuntu-latest): src/Rules/PHPUnit/AttributeRequiresPhpVersionRule.php#L165
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ return false; } - if (!$this->PHPUnitVersion->warnsAboutIncompleteVersion()->yes()) { + if ($this->PHPUnitVersion->warnsAboutIncompleteVersion()->no()) { return false; }
Mutation Testing (8.5, ubuntu-latest): src/Rules/PHPUnit/AttributeRequiresPhpVersionRule.php#L165
Escaped Mutant for Mutator "PHPStan\Infection\TrinaryLogicMutator": @@ @@ return false; } - if (!$this->PHPUnitVersion->warnsAboutIncompleteVersion()->yes()) { + if ($this->PHPUnitVersion->warnsAboutIncompleteVersion()->no()) { return false; }