Skip to content

Get rid of instanceof *Type checks #22175

Get rid of instanceof *Type checks

Get rid of instanceof *Type checks #22175

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

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
7s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
7s
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
integration-tests  /  PMMP Tests
1m 24s
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
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.
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 - 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 69 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 69 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:1507d002156ba94440983c9b6ddb5a9885ff00a10fb1e3b710bb9191c33e356a
baselines-drupal-baseline.neon
379 Bytes
sha256:1861aceb9981ad34cf8ac4525bf3b1656105cb54b20f32a3e627043aba308ebd
baselines-shipmonk-rnd-baseline.neon
198 Bytes
sha256:9dbb0a99fbbb02a01bf727a71f75b6f272352ec3980dad1a0d17bd920154650e
baselines-shopware-baseline.neon
3.08 KB
sha256:6770411adb19698837cefd83607eaff2c284ba9ea6b0afd9a19120456a225623
phar-file
3.68 MB
sha256:750b6fda45b9275db64d817cbdb496c1002932b1be694f337c384329c2fdb740
phar-file-checksum
3.68 MB
sha256:c516734742828f6eeb893a52ae82d8958e714bea42d4728745cb35608a42f80c