Add --stop-on-failure option to halt analysis on first error #22422
Triggered via pull request
September 5, 2025 07:45
Status
Failure
Total duration
14m 33s
Artifacts
–
tests.yml
on: pull_request
Determine levels tests matrix
29s
Matrix: Integration tests
Matrix: Tests with old PHPUnit
Matrix: Tests
Matrix: Levels tests
Annotations
22 errors and 8 notices
Integration tests (ubuntu-latest)
Ignored error pattern #Variable property access on PhpParser\\Node# was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #should be contravariant with parameter \$node \(PhpParser\\Node\) of method PHPStan\\Rules\\Rule<PhpParser\\Node>::processNode\(\)$# was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #^Dynamic call to static method PHPUnit\\Framework\\\S+\(\)\.$# was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #^Used function str_increment not found\.# was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #has an uninitialized property# in path /home/runner/work/phpstan-src/phpstan-src/tests was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #Extension has an uninitialized property (?:\$typeSpecifier|\$broker)# was not matched in reported errors.
|
Integration tests (ubuntu-latest)
Ignored error pattern #^Class PHPStan\\Rules\\RuleErrors\\RuleError(?:\d+) has an uninitialized property (?:\$message|\$line|\$identifier|\$tip|\$file|\$metadata|\$originalNode)# was not matched in reported errors.
|
Integration tests (ubuntu-latest):
tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
|
Integration tests (ubuntu-latest):
tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
|
Integration tests (ubuntu-latest):
tests/PHPStan/Command/test/file2-with-error.php#L6
Unused TestClass::methodWithError
|
Integration tests (windows-latest)
Ignored error pattern #Test::data[a-zA-Z0-9_]+\(\) return type has no value type specified in iterable type# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #Variable property access on PhpParser\\Node# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #should be contravariant with parameter \$node \(PhpParser\\Node\) of method PHPStan\\Rules\\Rule<PhpParser\\Node>::processNode\(\)$# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #^Dynamic call to static method PHPUnit\\Framework\\\S+\(\)\.$# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #^Used function str_increment not found\.# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #has an uninitialized property# in path D:\a\phpstan-src\phpstan-src\tests was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #Extension has an uninitialized property (?:\$typeSpecifier|\$broker)# was not matched in reported errors.
|
Integration tests (windows-latest)
Ignored error pattern #^Class PHPStan\\Rules\\RuleErrors\\RuleError(?:\d+) has an uninitialized property (?:\$message|\$line|\$identifier|\$tip|\$file|\$metadata|\$originalNode)# was not matched in reported errors.
|
Integration tests (windows-latest):
tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
|
Integration tests (windows-latest):
tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
|
Tests with old PHPUnit (7.4, ubuntu-latest)
Process completed with exit code 2.
|
Tests with old PHPUnit (7.4, windows-latest)
Process completed with exit code 1.
|
Integration tests (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
|
Tests with old PHPUnit (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
|
Tests (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
|
Tests (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
|
Tests (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
|
Tests (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
|
Tests with old PHPUnit (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
|
Tests with old PHPUnit (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
|