Skip to content

PHPUnit 10.x is compatible with PHP 8.1 #23024

PHPUnit 10.x is compatible with PHP 8.1

PHPUnit 10.x is compatible with PHP 8.1 #23024

Triggered via pull request September 18, 2025 08:28
@staabmstaabm
synchronize #4343
staabm:php81
Status Cancelled
Total duration 9m 21s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 50s
Generate baseline
Generate PHP baseline
1m 51s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 7 notices
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L0
Ignored error pattern #^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$# (catch.internalClass) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L0
Ignored error pattern #^Call to method getComparisonFailure\(\) of internal class PHPUnit\\Framework\\ExpectationFailedException from outside its root namespace PHPUnit\.$# (method.internalClass) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L0
Ignored error pattern #^Instanceof references internal interface PHPUnit\\Exception\.$# (instanceof.internalInterface) in path /home/runner/work/phpstan-src/phpstan-src/tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest): src/Testing/PHPStanTestCase.php#L0
Ignored error pattern #^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$# (catch.internalClass) in path /home/runner/work/phpstan-src/phpstan-src/src/Testing/PHPStanTestCase.php was not matched in reported errors.
PHPStan (8.1, ubuntu-latest): src/Testing/LevelsTestCase.php#L195
Call to an undefined static method PHPUnit\Framework\TestCase::assertFileNotExists().
PHPStan (8.1, ubuntu-latest): src/Testing/LevelsTestCase.php#L0
Ignored error pattern #^Call to deprecated method assertFileNotExists\(\) of class PHPUnit\\Framework\\Assert\: https\://github\.com/sebastianbergmann/phpunit/issues/4077$# (staticMethod.deprecated) in path /home/runner/work/phpstan-src/phpstan-src/src/Testing/LevelsTestCase.php was not matched in reported errors.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L0
Ignored error pattern #^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$# (catch.internalClass) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Testing\NonexistentAnalysedClassRuleTest.php was not matched in reported errors.
PHPStan (8.1, windows-latest): tests/PHPStan/Testing/NonexistentAnalysedClassRuleTest.php#L0
Ignored error pattern #^Call to method getComparisonFailure\(\) of internal class PHPUnit\\Framework\\ExpectationFailedException from outside its root namespace PHPUnit\.$# (method.internalClass) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Testing\NonexistentAnalysedClassRuleTest.php was not matched in reported errors.
PHPStan (8.1, windows-latest): tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php#L0
Ignored error pattern #^Instanceof references internal interface PHPUnit\\Exception\.$# (instanceof.internalInterface) in path D:\a\phpstan-src\phpstan-src\tests\PHPStan\Reflection\ReflectionProviderGoldenTest.php was not matched in reported errors.
PHPStan (8.1, windows-latest): src/Testing/PHPStanTestCase.php#L0
Ignored error pattern #^Catching internal class PHPUnit\\Framework\\ExpectationFailedException\.$# (catch.internalClass) in path D:\a\phpstan-src\phpstan-src\src\Testing\PHPStanTestCase.php was not matched in reported errors.
PHPStan (8.1, windows-latest): src/Testing/LevelsTestCase.php#L195
Call to an undefined static method PHPUnit\Framework\TestCase::assertFileNotExists().
PHPStan (8.1, windows-latest): src/Testing/LevelsTestCase.php#L0
Ignored error pattern #^Call to deprecated method assertFileNotExists\(\) of class PHPUnit\\Framework\\Assert\: https\://github\.com/sebastianbergmann/phpunit/issues/4077$# (staticMethod.deprecated) in path D:\a\phpstan-src\phpstan-src\src\Testing\LevelsTestCase.php was not matched in reported errors.
PHPStan (7.4, windows-latest)
The operation was canceled.
PHPStan (7.4, windows-latest)
Canceling since a higher priority waiting request for sa-php81 exists
Static Analysis
Canceling since a higher priority waiting request for sa-php81 exists
PHPStan (8.3, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.5, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.2, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.0, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (8.1, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
PHPStan (7.4, windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677