Remove usage of deprecated driver functionality #1470
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
3 errors
Static Analysis with PHPStan (8.2):
tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php#L241
Parameter #1 $mapping of method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php:230>::mapField() expects array{type?: string, fieldName?: string, name?: string, strategy?: string, association?: int, id?: bool, isOwningSide?: bool, collectionClass?: class-string, ...}, array{fieldName: 'enum', enumType: 'Documents\\Card'} given.
|
Static Analysis with PHPStan (8.2):
tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php#L260
Parameter #1 $mapping of method Doctrine\ODM\MongoDB\Mapping\ClassMetadata<class@anonymous/tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php:249>::mapField() expects array{type?: string, fieldName?: string, name?: string, strategy?: string, association?: int, id?: bool, isOwningSide?: bool, collectionClass?: class-string, ...}, array{fieldName: 'enum', enumType: 'Documents\\SuitNonBacked'} given.
|
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
composer-lock-static-analysis-phpstan
|
23.7 KB |
|
composer-lock-static-analysis-psalm
|
23.7 KB |
|