Skip to content

Remove usage of deprecated driver functionality #1470

Remove usage of deprecated driver functionality

Remove usage of deprecated driver functionality #1470

Triggered via pull request September 30, 2024 12:43
Status Failure
Total duration 1m 10s
Artifacts 2

static-analysis.yml

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

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