Skip to content

Add --stop-on-failure option to halt analysis on first error #22680

Add --stop-on-failure option to halt analysis on first error

Add --stop-on-failure option to halt analysis on first error #22680

Triggered via pull request September 5, 2025 07:45
Status Failure
Total duration 12m 48s
Artifacts

static-analysis.yml

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

Annotations

109 errors and 7 notices
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.3, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan with result cache (8.3): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan with result cache (8.3): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan with result cache (8.3): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan with result cache (8.5): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan with result cache (8.5): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan with result cache (8.5): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.5, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan with result cache (8.2): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan with result cache (8.2): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan with result cache (8.2): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.2, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
Generate baseline
Process completed with exit code 1.
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan with result cache (8.4): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan with result cache (8.4): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan with result cache (8.4): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.1, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L8
Variable $nonExistentVar might not be defined.
PHPStan (8.0, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L5
Function testFunction() should return string but returns int.
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.2, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.2, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.2, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.4, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.4, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.4, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.5, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.5, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.5, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.3, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.3, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.3, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.1, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.1, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L9
Variable $nonExistentVar might not be defined.
PHPStan (8.1, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L6
Function testFunction() should return string but returns int.
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (8.0, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (8.0, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L8
Variable $nonExistentVar might not be defined.
PHPStan (8.0, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L5
Function testFunction() should return string but returns int.
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L8
Variable $nonExistentVar might not be defined.
PHPStan (7.4, ubuntu-latest): tests/PHPStan/Command/test/file1-with-error.php#L5
Function testFunction() should return string but returns int.
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L13
Call to an undefined method TestClass::nonExistentMethod().
PHPStan (7.4, windows-latest): tests/PHPStan/Command/test/file2-with-error.php#L8
Method TestClass::methodWithError() should return int but returns string.
PHPStan (7.4, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L8
Variable $nonExistentVar might not be defined.
PHPStan (7.4, windows-latest): tests/PHPStan/Command/test/file1-with-error.php#L5
Function testFunction() should return string but returns int.
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.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.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.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.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 (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 (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