Skip to content

Use normal Collection<ClassName> when property has indexBy #414

Use normal Collection<ClassName> when property has indexBy

Use normal Collection<ClassName> when property has indexBy #414

Triggered via pull request December 20, 2024 15:23
Status Failure
Total duration 31s
Artifacts

code_analysis_reusable.yaml

on: pull_request
rector  /  rector
rector / rector
Matrix: code_analysis_reusable / code_analysis
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
code_analysis_reusable / PHPStan: src/NodeManipulator/ToManyRelationPropertyTypeResolver.php#L99
Parameter #1 $property of method Rector\Doctrine\TypeAnalyzer\CollectionTypeResolver::hasIndexBy() expects PhpParser\Node\Stmt\Property, PhpParser\Node\Param|PhpParser\Node\Stmt\Property given.
code_analysis_reusable / PHPStan: src/TypeAnalyzer/CollectionTypeResolver.php#L71
Method Rector\Doctrine\TypeAnalyzer\CollectionTypeResolver::hasIndexBy() has no return type specified.
code_analysis_reusable / PHPStan
Process completed with exit code 1.
code_analysis_reusable / Composer Validate
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
code_analysis_reusable / PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636