Use attributes in tests #1218
Annotations
3 errors
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php#L88
Parameter $targetDocument of attribute class Doctrine\ODM\MongoDB\Mapping\Annotations\ReferenceOne constructor expects class-string|null, string given.
|
Run a static analysis with phpstan/phpstan:
tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php#L101
Parameter $discriminatorMap of attribute class Doctrine\ODM\MongoDB\Mapping\Annotations\ReferenceOne constructor expects array<string, class-string>|null, array<string, string> given.
|
Run a static analysis with phpstan/phpstan
Process completed with exit code 1.
|
Loading