Skip to content

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

Respect asserts and throws on pure functions that return void

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

Triggered via pull request March 23, 2025 16:53
Status Failure
Total duration 8m 26s
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
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.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 (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.
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.

Artifacts

Produced during runtime
Name Size Digest
baselines-shipmonk-dead-code-detector-baseline.neon Expired
228 Bytes
sha256:74303fb2446611f434d666e7728f0d0b2a8f0fdd224afb98630974183a415c58
phar-file Expired
3.52 MB
sha256:4fbb4a4776aef6f6bccd3701ac94049767b28d93a2b662b5922c8adeb07556e3
phar-file-checksum Expired
3.51 MB
sha256:be9990ad54a612924d8c251ee28df40ab7f037206030d3485d36b8450098a1df