Skip to content

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

Respect asserts and throws on pure functions that return void

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

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

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
extension-tests  /  Check PHAR checksum
4s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
5s
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

17 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.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 (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 (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:0ac17f6f7ed11f2e8dc6ca9757662d2a302cdf9580332d7c0637326f5e87492d
phar-file Expired
3.52 MB
sha256:befbb8bfe60594176f54133b276fc952d7f27464c9b7f37844cf6f4cc60da54e
phar-file-checksum Expired
3.51 MB
sha256:3b416585441df588cb2128d9780069df2fe5be44e3720025034f0ce6ddec911d