Skip to content

Get rid of instanceof *Type checks #22171

Get rid of instanceof *Type checks

Get rid of instanceof *Type checks #22171

Triggered via pull request October 4, 2025 07:54
@staabmstaabm
synchronize #4405
staabm:insto
Status Failure
Total duration 19m 47s
Artifacts 6

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
4s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
4s
extension-tests / Check PHAR checksum
other-tests  /  Check PHAR checksum
7s
other-tests / Check PHAR checksum
Commit PHAR
0s
Commit PHAR
Matrix: integration-tests / integration-run-phpstan
integration-tests  /  PMMP Tests
1m 22s
integration-tests / PMMP Tests
Matrix: integration-tests / integration-tests
Checksum PHAR
0s
Checksum PHAR
PHAR Prefix Diff
0s
PHAR Prefix Diff
Matrix: extension-tests / tests-extensions
Matrix: other-tests / Other Tests
integration-tests  /  Integration - Update baselines
0s
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

15 errors
extension-tests / phpstan-mockery (8.5) make tests
Process completed with exit code 2.
integration-tests / Integration - shipmonk-rnd/phpstan-rules
Process completed with exit code 1.
integration-tests / Integration - shipmonk-rnd/phpstan-rules: src/Rule/AllowComparingOnlyComparableTypesRule.php#L142
No error with identifier offsetAccess.notFound is reported on line 142.
integration-tests / Integration - bladestan/bladestan
Process completed with exit code 1.
integration-tests / Integration - bladestan/bladestan: src/TemplateCompiler/PHPStan/FileAnalyserProvider.php#L59
Method Bladestan\TemplateCompiler\PHPStan\FileAnalyserProvider::provide() throws checked exception PHPStan\DependencyInjection\MissingServiceException but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/NodeAnalyzer/ViewVariableAnalyzer.php#L50
Method Bladestan\NodeAnalyzer\ViewVariableAnalyzer::resolve() throws checked exception ValueError but it's missing from the PHPDoc `@throws` tag.
integration-tests / Integration - bladestan/bladestan: src/Compiler/LivewireTagCompiler.php#L116
Dead catch - RuntimeException is never thrown in the try block.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Process completed with exit code 1.
integration-tests / Integration - drupal/drupal
Internal error: PHPStan\Type\Constant\ConstantArrayTypeBuilder::setOffsetValueType(): Argument #2 ($valueType) must be of type PHPStan\Type\Type, null given, called in phar:///home/runner/work/phpstan-src/phpstan-src/phpstan.phar/src/Type/Php/ArrayCombineFunctionReturnTypeExtension.php on line 63 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/core/modules/node/src/Form/NodeTypeForm.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Internal error: PHPStan\Type\Constant\ConstantArrayTypeBuilder::setOffsetValueType(): Argument #2 ($valueType) must be of type PHPStan\Type\Type, null given, called in phar:///home/runner/work/phpstan-src/phpstan-src/phpstan.phar/src/Type/Php/ArrayCombineFunctionReturnTypeExtension.php on line 63 while analysing file /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Core/Framework/App/Command/CreateAppCommand.php Run PHPStan with -v option and post the stack trace to: https://github.com/phpstan/phpstan/issues/new?template=Bug_report.yaml

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
572 Bytes
sha256:7d6d9b55d5ef0a951d1b28b99134bc992e0c54a68044627c78da13dd547ab711
baselines-drupal-baseline.neon
379 Bytes
sha256:06e83f32960a051cbffa069bfd52d76bb3e1a081b54fa06a034a6c5be84101d7
baselines-shipmonk-rnd-baseline.neon
198 Bytes
sha256:fa4009fed2d92b85b4547ca8c3e0a9d78cb26da1cbd8a5361553f52e030f42cd
baselines-shopware-baseline.neon
3.08 KB
sha256:af376a6bd06b445256d64150415c3c874d19843b1cebd5c2f151bca9ed65b26d
phar-file
3.68 MB
sha256:c2986976cad31032dff16e5a9ba6e75fc056abad1a3f4d84088e829e8d9dbb08
phar-file-checksum
3.68 MB
sha256:74a16940a10c30213400b8a5ca632481be5e368185e29ff8c378d7b366dfd3e4