Skip to content

Fix IN/NOT IN expression handling and support enums when matching on to-many-collections #8201

Fix IN/NOT IN expression handling and support enums when matching on to-many-collections

Fix IN/NOT IN expression handling and support enums when matching on to-many-collections #8201

Triggered via pull request March 30, 2025 20:38
Status Failure
Total duration 1m 3s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Static Analysis with PHPStan (default, default)
Process completed with exit code 1.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Offset 'sourceToTargetKeyColumns' might not exist on array\{cache\?\: array, cascade\: array\<string\>, declared\?\: class\-string, fetch\: mixed, fieldName\: string, id\?\: bool, inherited\?\: class\-string, indexBy\?\: string, \.\.\.\}\.$# (offsetAccess.notFound) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Offset 'relationToTargetKeyColumns' might not exist on array\{cache\?\: array, cascade\: array\<string\>, declared\?\: class\-string, fetch\: mixed, fieldName\: string, id\?\: bool, inherited\?\: class\-string, indexBy\?\: string, \.\.\.\}\.$# (offsetAccess.notFound) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getTypes\(\) has parameter \$class with generic class Doctrine\\ORM\\Mapping\\ClassMetadata but does not specify its types\: T$# (missingType.generics) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getIndividualValue\(\) should return list\<mixed\> but returns array\<mixed\>\.$# (return.type) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:expandParameters\(\) should return array\{list\<mixed\>, list\<int\|string\|null\>\} but returns array\{array\<mixed\>, list\<int\|string\|null\>\}\.$# (return.type) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
Static Analysis with PHPStan (default, default): src/Persisters/Entity/BasicEntityPersister.php#L0
Ignored error pattern #^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:expandCriteriaParameters\(\) should return array\{list\<mixed\>, list\<int\|string\|null\>\} but returns array\{array\<mixed\>, list\<int\|string\|null\>\}\.$# (return.type) in path /home/runner/work/orm/orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.