Use attributes in tests #1171
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
5 errors
Static Analysis with PHPStan (8.2):
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.
|
Static Analysis with PHPStan (8.2):
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.
|
Static Analysis with PHPStan (8.2)
Process completed with exit code 1.
|
UndefinedClass:
tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php#L101
tests/Doctrine/ODM/MongoDB/Tests/Functional/TargetDocumentTest.php:101:81: UndefinedClass: Class, interface or enum named Doctrine\ODM\MongoDB\Tests\Functional\SomeInvalidClass does not exist (see https://psalm.dev/019)
|
Static Analysis with Psalm (8.2)
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
composer.lock
Expired
|
211 KB |
|