Skip to content

Respect asserts and throws on pure functions that return void #19136

Respect asserts and throws on pure functions that return void

Respect asserts and throws on pure functions that return void #19136

Triggered via pull request March 23, 2025 16:59
Status Failure
Total duration 4m 48s
Artifacts 3

phar.yml

on: pull_request
Compiler Tests
1m 8s
Compiler Tests
integration-tests  /  Check PHAR checksum
5s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
5s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
4s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
Matrix: integration-tests / integration-tests
Matrix: extension-tests / Extension Tests
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

16 errors
integration-tests / Integration - shipmonk-rnd/dead-code-detector: src/Provider/ReflectionUsageProvider.php#L113
No error with identifier offsetAccess.notFound is reported on line 113.
integration-tests / Integration - shipmonk-rnd/dead-code-detector: src/Provider/ReflectionUsageProvider.php#L143
No error with identifier offsetAccess.notFound is reported on line 143.
integration-tests / Integration - shipmonk-rnd/dead-code-detector
Process completed with exit code 1.
integration-tests / Integration - Rector tests
Process completed with exit code 1.
extension-tests / Extension Tests (8.2, phpstan-doctrine): src/Type/Doctrine/DBAL/RowCountMethodDynamicReturnTypeExtension.php#L91
Method PHPStan\Type\Doctrine\DBAL\RowCountMethodDynamicReturnTypeExtension::getResultClass() never returns null so it can be removed from the return type.
extension-tests / Extension Tests (8.2, phpstan-doctrine)
Process completed with exit code 2.
extension-tests / Extension Tests (8.1, phpstan-doctrine): src/Type/Doctrine/DBAL/RowCountMethodDynamicReturnTypeExtension.php#L91
Method PHPStan\Type\Doctrine\DBAL\RowCountMethodDynamicReturnTypeExtension::getResultClass() never returns null so it can be removed from the return type.
extension-tests / Extension Tests (8.1, phpstan-doctrine)
Process completed with exit code 2.
extension-tests / Extension Tests (8.0, phpstan-doctrine): src/Type/Doctrine/DBAL/RowCountMethodDynamicReturnTypeExtension.php#L91
Method PHPStan\Type\Doctrine\DBAL\RowCountMethodDynamicReturnTypeExtension::getResultClass() never returns null so it can be removed from the return type.
extension-tests / Extension Tests (8.0, phpstan-doctrine)
Process completed with exit code 2.
extension-tests / Extension Tests (7.4, phpstan-doctrine): src/Type/Doctrine/DBAL/RowCountMethodDynamicReturnTypeExtension.php#L91
Method PHPStan\Type\Doctrine\DBAL\RowCountMethodDynamicReturnTypeExtension::getResultClass() never returns null so it can be removed from the return type.
extension-tests / Extension Tests (7.4, phpstan-doctrine)
Process completed with exit code 2.

Artifacts

Produced during runtime
Name Size Digest
baselines-shipmonk-dead-code-detector-baseline.neon Expired
228 Bytes
sha256:b94bb978064fbdfe133c460288cac601a5deac4b9d2c22ce86285316377ea2d6
phar-file Expired
3.52 MB
sha256:ce8740e29936fece02cc3e619e9e0615ccd2f01545f9eee7c4302b0ca667f576
phar-file-checksum Expired
3.51 MB
sha256:b064929454d33e2d511ce831f3d65289c254c1d6e8cec520ee4c16dba1a71fc6