Use normal Collection<ClassName> when property has indexBy #414
code_analysis_reusable.yaml
on: pull_request
rector
/
rector
Matrix: code_analysis_reusable / code_analysis
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
|