Skip to content

[CodeQuality] Resolve type on Collection<string, ClassName> docblock to correct target type when has indexBy #425

[CodeQuality] Resolve type on Collection<string, ClassName> docblock to correct target type when has indexBy

[CodeQuality] Resolve type on Collection<string, ClassName> docblock to correct target type when has indexBy #425

Triggered via pull request December 22, 2024 10:24
Status Failure
Total duration 42s
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

2 errors and 2 warnings
code_analysis_reusable / PHPStan: src/TypeAnalyzer/CollectionTypeFactory.php#L27
Method Rector\Doctrine\TypeAnalyzer\CollectionTypeFactory::resolveKeyType() never returns PHPStan\Type\StringType so it can be removed from the return type.
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