Skip to content

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType #22309

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType

POC: Use SimultaneousTypeTraverser in RuleLevelHelper::transformAcceptedType #22309

Triggered via pull request October 10, 2025 15:31
Status Failure
Total duration 11m 50s
Artifacts 10

phar.yml

on: pull_request
integration-tests  /  Check PHAR checksum
8s
integration-tests / Check PHAR checksum
Download base SHA PHAR
0s
Download base SHA PHAR
extension-tests  /  Check PHAR checksum
6s
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 23s
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
integration-tests / Integration - Update baselines
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 3 warnings
integration-tests / Integration - slevomat/coding-standard
Process completed with exit code 1.
integration-tests / Integration - slevomat/coding-standard: tests/Helpers/ArrayHelperTest.php#L208
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
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 - slevomat/coding-standard: SlevomatCodingStandard/Sniffs/Arrays/SingleLineArrayWhitespaceSniff.php#L45
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Sniffs/Arrays/MultiLineArrayEndBracketPlacementSniff.php#L40
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Sniffs/Arrays/MultiLineArrayEndBracketPlacementSniff.php#L33
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/ArrayKeyValue.php#L120
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/ArrayHelper.php#L153
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/ArrayHelper.php#L139
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/ArrayHelper.php#L48
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/ArrayHelper.php#L28
Parameter #1 $token of static method SlevomatCodingStandard\Helpers\ArrayHelper::openClosePointers() expects array<string, array<int, int|string>|int|string>, array<string, array<int, int|string>|int|string|null> given.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/AnnotationHelper.php#L111
Property PHPStan\PhpDocParser\Ast\AbstractNodeVisitor@anonymous/Helpers/AnnotationHelper.php:91::$nodesToIgnore (list<PHPStan\PhpDocParser\Ast\Node>) does not accept non-empty-list<PHPStan\PhpDocParser\Ast\Node|null>.
integration-tests / Integration - slevomat/coding-standard: SlevomatCodingStandard/Helpers/AnnotationHelper.php#L109
Property PHPStan\PhpDocParser\Ast\AbstractNodeVisitor@anonymous/Helpers/AnnotationHelper.php:91::$nodesToIgnore (list<PHPStan\PhpDocParser\Ast\Node>) does not accept non-empty-list<PHPStan\PhpDocParser\Ast\Node|null>.
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 - doctrine/orm
Process completed with exit code 1.
integration-tests / Integration - doctrine/orm: src/Query/Parser.php#L2208
Property Doctrine\ORM\Query\Parser::$queryComponents (array<string, array{metadata?: Doctrine\ORM\Mapping\ClassMetadata<object>, parent?: string|null, relation?: Doctrine\ORM\Mapping\AssociationMapping|null, map?: string|null, resultVariable?: Doctrine\ORM\Query\AST\Node|string, nestingLevel: int, token: Doctrine\Common\Lexer\Token<Doctrine\ORM\Query\TokenType, string>}>) does not accept non-empty-array<string, array{metadata?: Doctrine\ORM\Mapping\ClassMetadata<object>, parent?: string|null, relation?: Doctrine\ORM\Mapping\AssociationMapping|null, map?: string|null, resultVariable?: Doctrine\ORM\Query\AST\Node|string, nestingLevel: int, token: Doctrine\Common\Lexer\Token<Doctrine\ORM\Query\TokenType, string>|null}>.
integration-tests / Integration - doctrine/orm: src/Mapping/Driver/DatabaseDriver.php#L429
Method Doctrine\ORM\Mapping\Driver\DatabaseDriver::buildFieldMapping() should return array{fieldName: string, columnName: string, type: string, nullable: bool, options: array{unsigned?: bool, fixed?: bool, comment: string|null, default?: mixed}, precision?: int, scale?: int, length?: int|null} but returns array{fieldName: string, columnName: string, type: 'decimal'|'float', nullable: bool, options: array{comment: string, fixed?: bool, default?: mixed}|array{comment: string, unsigned?: bool, default: mixed}, precision: int|null, scale: int}|array{fieldName: string, columnName: string, type: string, nullable: bool, options: array{comment: string, fixed?: bool, default?: mixed}|array{comment: string, unsigned?: bool, default?: mixed}, length?: int|null}.
integration-tests / PMMP Tests
Process completed with exit code 1.
integration-tests / PMMP Tests: src/crash/CrashDump.php#L242
Possibly invalid array key type float|int<0, max>.
integration-tests / Integration - briannesbitt/Carbon
Process completed with exit code 1.
integration-tests / Integration - briannesbitt/Carbon
Ignored error pattern #should return (\S*)static\(Carbon\\CarbonInterval\)(\|null)? but returns Carbon\\CarbonInterval(\|null)?\.$# was not matched in reported errors.
integration-tests / Integration - efabrica-team/phpstan-latte tests
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware
Process completed with exit code 1.
integration-tests / Integration - shopware/shopware: src/Elasticsearch/Framework/ElasticsearchFieldMapper.php#L142
No error with identifier function.unresolvableReturnType is reported on line 142.
integration-tests / Integration - shopware/shopware: src/Elasticsearch/Framework/ElasticsearchFieldMapper.php#L142
No error with identifier argument.unresolvableType is reported on line 142.
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 32931 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 32931 , Maximum supported length: 32766
other-tests / Other Tests (7.4, windows-latest, cd e2e/name-conflict composer install cp ../../phpstan vendor/p...
Environment variable 'INPUT_GITHUB_CONTEXT' exceeds the maximum supported length. Environment variable length: 32931 , Maximum supported length: 32766

Artifacts

Produced during runtime
Name Size Digest
baselines-bladestan-baseline.neon
572 Bytes
sha256:ab2603d763abd5d1285643f58f4e34f3695ef5ba712dbc73e0d381964e002e87
baselines-carbon-baseline.neon
501 Bytes
sha256:7857208c45f5d05d2ac08e9e1242f09005b3a5c796616a19a2832d211f139692
baselines-doctrine-orm-baseline.neon
2.09 KB
sha256:ae13c404dd0767167d21412f0be16ccc51bc54c25d625656f0337c10cdba7871
baselines-shipmonk-rnd-baseline.neon
198 Bytes
sha256:496faf550407737972fddf2ead15bb667033e830d46144cd94fdc5ac97db3663
baselines-shopware-baseline.neon
3.48 KB
sha256:714a253150397b6069b6e1eee15bb005c25c9264cefef53c218c8add7832b959
baselines-slevomat-cs-baseline.neon
979 Bytes
sha256:927b2a083797d238a15a5af5d2c780b40528118e45d04709fc8f1a75bd3acb87
baselines-slevomat-cs-tests-baseline.neon
405 Bytes
sha256:21fc837b5dc12832a1699916f3291c85efc3f909b4589f34ef3af678174ee80e
phar-file
3.68 MB
sha256:86b46e52c92c456f22fe93490058798245f02b257aac62d517629c75294e0956
phar-file-checksum
3.68 MB
sha256:b5821669c0fd8c30be31bbf803e457ced1382007aa5890476d8b42680b34eafa
pocketmine-ng-baseline.neon
462 Bytes
sha256:65d313b052ce5917c34410fb0c7ce83cfe214e88bea73f6ddd107cfca0340324