Skip to content

Refactor PHPUnitVersionDetector to ease different major version checks #465

Refactor PHPUnitVersionDetector to ease different major version checks

Refactor PHPUnitVersionDetector to ease different major version checks #465

Triggered via pull request October 28, 2025 19:17
@staabmstaabm
synchronize #248
staabm:refac
Status Cancelled
Total duration 43s
Artifacts

build.yml

on: pull_request
Matrix: PHPStan
Matrix: Tests
Coding Standard
17s
Coding Standard
Matrix: Lint
Matrix: Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

93 errors
PHPStan (8.2, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.2, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (7.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (7.4, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.1, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.1, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.0, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.0, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, highest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.0, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.0, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^11.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, highest, ^12.0.9): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (7.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (7.4, highest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.3, lowest, ^9.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.4, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDeclarationRuleTest.php#L14
Property PHPStan\Rules\PHPUnit\DataProviderDeclarationRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
PHPStan (8.2, lowest, ^10.5): tests/Rules/PHPUnit/DataProviderDataRuleTest.php#L17
Property PHPStan\Rules\PHPUnit\DataProviderDataRuleTest::$phpunitVersion (int|null) is never assigned null so it can be removed from the property type.
Tests (8.4, lowest, ^9.5)
Canceling since a higher priority waiting request for build-refac exists
Tests (8.4, lowest, ^9.5)
The operation was canceled.
Build
Canceling since a higher priority waiting request for build-refac exists