Merge remote-tracking branch 'origin/2.20.x' into 3.3.x #178
static-analysis.yml
on: push
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
12 errors
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Mapping/Driver/DatabaseDriver.php#L1
Ignored error pattern #^Method Doctrine\\ORM\\Mapping\\Driver\\DatabaseDriver\:\:buildFieldMapping\(\) should return array\{fieldName\: string, columnName\: string, type\: string, nullable\: bool, options\: array\{unsigned\?\: bool, fixed\?\: bool, comment\: string\|null, default\?\: mixed\}, precision\?\: int, scale\?\: int, length\?\: int\|null\} but returns array\{fieldName\: string, columnName\: string, type\: 'decimal'\|'float', nullable\: bool, options\: array\{comment\: string, fixed\?\: bool, default\?\: mixed\}\|array\{comment\: string, unsigned\?\: bool, default\: mixed\}, precision\: int\|null, scale\: int\}\|array\{fieldName\: string, columnName\: string, type\: string, nullable\: bool, options\: array\{comment\: string, fixed\?\: bool, default\?\: mixed\}\|array\{comment\: string, unsigned\?\: bool, default\?\: mixed\}, length\?\: int\|null\}\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Mapping/Driver/DatabaseDriver.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Collection/ManyToManyPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:executeStatement\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Collection/ManyToManyPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Collection/ManyToManyPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:fetchOne\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Collection/ManyToManyPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getTypes\(\) should return array\<int, Doctrine\\DBAL\\ArrayParameterType\:\:ASCII\|Doctrine\\DBAL\\ArrayParameterType\:\:BINARY\|Doctrine\\DBAL\\ArrayParameterType\:\:INTEGER\|Doctrine\\DBAL\\ArrayParameterType\:\:STRING\|Doctrine\\DBAL\\ParameterType\:\:ASCII\|Doctrine\\DBAL\\ParameterType\:\:BINARY\|Doctrine\\DBAL\\ParameterType\:\:BOOLEAN\|Doctrine\\DBAL\\ParameterType\:\:INTEGER\|Doctrine\\DBAL\\ParameterType\:\:LARGE_OBJECT\|Doctrine\\DBAL\\ParameterType\:\:NULL\|Doctrine\\DBAL\\ParameterType\:\:STRING\|string\> but returns array\<int\<0, max\>, Doctrine\\DBAL\\ArrayParameterType\:\:ASCII\|Doctrine\\DBAL\\ArrayParameterType\:\:BINARY\|Doctrine\\DBAL\\ArrayParameterType\:\:INTEGER\|Doctrine\\DBAL\\ArrayParameterType\:\:STRING\|int\>\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Parameter \#2 \$lockMode of method Doctrine\\DBAL\\Platforms\\AbstractPlatform\:\:appendLockHint\(\) expects Doctrine\\DBAL\\LockMode, Doctrine\\DBAL\\LockMode\:\:NONE\|Doctrine\\DBAL\\LockMode\:\:OPTIMISTIC\|Doctrine\\DBAL\\LockMode\:\:PESSIMISTIC_READ\|Doctrine\\DBAL\\LockMode\:\:PESSIMISTIC_WRITE\|int given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:delete\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:executeQuery\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, Doctrine\\DBAL\\ArrayParameterType\:\:ASCII\|Doctrine\\DBAL\\ArrayParameterType\:\:BINARY\|Doctrine\\DBAL\\ArrayParameterType\:\:INTEGER\|Doctrine\\DBAL\\ArrayParameterType\:\:STRING\|Doctrine\\DBAL\\ParameterType\:\:ASCII\|Doctrine\\DBAL\\ParameterType\:\:BINARY\|Doctrine\\DBAL\\ParameterType\:\:BOOLEAN\|Doctrine\\DBAL\\ParameterType\:\:INTEGER\|Doctrine\\DBAL\\ParameterType\:\:LARGE_OBJECT\|Doctrine\\DBAL\\ParameterType\:\:NULL\|Doctrine\\DBAL\\ParameterType\:\:STRING\|string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:fetchNumeric\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, Doctrine\\DBAL\\ArrayParameterType\:\:ASCII\|Doctrine\\DBAL\\ArrayParameterType\:\:BINARY\|Doctrine\\DBAL\\ArrayParameterType\:\:INTEGER\|Doctrine\\DBAL\\ArrayParameterType\:\:STRING\|Doctrine\\DBAL\\ParameterType\:\:ASCII\|Doctrine\\DBAL\\ParameterType\:\:BINARY\|Doctrine\\DBAL\\ParameterType\:\:BOOLEAN\|Doctrine\\DBAL\\ParameterType\:\:INTEGER\|Doctrine\\DBAL\\ParameterType\:\:LARGE_OBJECT\|Doctrine\\DBAL\\ParameterType\:\:NULL\|Doctrine\\DBAL\\ParameterType\:\:STRING\|string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1
Ignored error pattern #^Parameter \#3 \$types of method Doctrine\\DBAL\\Connection\:\:fetchOne\(\) expects array\<int\<0, max\>\|string, Doctrine\\DBAL\\ArrayParameterType\|Doctrine\\DBAL\\ParameterType\|Doctrine\\DBAL\\Types\\Type\|string\>, array\<int, Doctrine\\DBAL\\ArrayParameterType\:\:ASCII\|Doctrine\\DBAL\\ArrayParameterType\:\:BINARY\|Doctrine\\DBAL\\ArrayParameterType\:\:INTEGER\|Doctrine\\DBAL\\ArrayParameterType\:\:STRING\|Doctrine\\DBAL\\ParameterType\:\:ASCII\|Doctrine\\DBAL\\ParameterType\:\:BINARY\|Doctrine\\DBAL\\ParameterType\:\:BOOLEAN\|Doctrine\\DBAL\\ParameterType\:\:INTEGER\|Doctrine\\DBAL\\ParameterType\:\:LARGE_OBJECT\|Doctrine\\DBAL\\ParameterType\:\:NULL\|Doctrine\\DBAL\\ParameterType\:\:STRING\|string\> given\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/src/Persisters/Entity/BasicEntityPersister.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon):
src/Persisters/Entity/BasicEntityPersister.php#L1134
Parameter #2 $lockMode of method Doctrine\DBAL\Platforms\AbstractPlatform::appendLockHint() expects 0|1|2|4, 0|1|2|4|Doctrine\DBAL\LockMode given.
|
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)
The operation was canceled.
|