add capability to hydrate an entity in a dto #8112
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
8 errors
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Internal/Hydration/AbstractHydrator.php#L350
Parameter #2 $dqlAlias of method Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateNestedEnity() expects string, int|string given.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Query/SqlWalker.php#L1592
Property Doctrine\ORM\Query\ResultSetMapping::$nestedEntities (array<string, string>) does not accept array<string, array<string, (int|string)>|string>.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
Process completed with exit code 1.
|
Static Analysis with PHPStan (default, phpstan.neon)
The job was canceled because "_3_8_2_phpstan-dbal3_neon" failed.
|
Static Analysis with PHPStan (default, phpstan.neon):
src/Internal/Hydration/AbstractHydrator.php#L350
Parameter #2 $dqlAlias of method Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateNestedEnity() expects string, int|string given.
|
Static Analysis with PHPStan (default, phpstan.neon):
src/Query/SqlWalker.php#L1
Ignored error pattern #^Property Doctrine\\ORM\\Query\\SqlWalker\:\:\$selectedClasses \(array\<string, array\{class\: Doctrine\\ORM\\Mapping\\ClassMetadata, dqlAlias\: string, resultAlias\: string\|null\}\>\) does not accept non\-empty\-array\<int\|string, array\{class\: Doctrine\\ORM\\Mapping\\ClassMetadata, dqlAlias\: mixed, resultAlias\: string\|null\}\>\.$# (assign.propertyType) in path /home/runner/work/orm/orm/src/Query/SqlWalker.php was not matched in reported errors.
|
Static Analysis with PHPStan (default, phpstan.neon):
src/Query/SqlWalker.php#L1592
Property Doctrine\ORM\Query\ResultSetMapping::$nestedEntities (array<string, string>) does not accept array<string, array<string, (int|string)>|string>.
|
Static Analysis with PHPStan (default, phpstan.neon)
The operation was canceled.
|