Make returntypes consistent with implementation #318
static-analysis.yml
on: pull_request
Matrix: Static Analysis / PHPStan
Matrix: Static Analysis / Psalm
Annotations
4 errors and 8 warnings
MoreSpecificImplementedParamType:
src/ArrayCollection.php#L359
src/ArrayCollection.php:359:33: MoreSpecificImplementedParamType: Argument 1 of Doctrine\Common\Collections\ArrayCollection::map has the more specific type 'Closure(T:Doctrine\Common\Collections\ArrayCollection as mixed):U:fn-doctrine\common\collections\arraycollection::map as mixed', expecting 'Closure' as defined by Doctrine\Common\Collections\Collection::map (see https://psalm.dev/140)
|
Static Analysis / Psalm (8.1)
Process completed with exit code 2.
|
Static Analysis / PHPStan (8.1):
src/AbstractLazyCollection.php#L259
Method Doctrine\Common\Collections\AbstractLazyCollection::map() should return Doctrine\Common\Collections\Collection<TKey of (int|string), U> but returns Doctrine\Common\Collections\Collection<TKey of (int|string), U>.
|
Static Analysis / PHPStan (8.1)
Process completed with exit code 1.
|
Static Analysis / Psalm (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static Analysis / Psalm (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis / Psalm (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis / Psalm (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis / PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static Analysis / PHPStan (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis / PHPStan (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis / PHPStan (8.1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|