Skip to content

Make the class parameter mandatory for references #277

Make the class parameter mandatory for references

Make the class parameter mandatory for references #277

Triggered via pull request December 19, 2023 08:45
Status Failure
Total duration 28s
Artifacts

static-analysis.yml

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

Annotations

10 errors
Static Analysis / PHPStan (8.3): src/ProxyReferenceRepository.php#L1
Ignored error pattern #^Call to an undefined method Doctrine\\Persistence\\ObjectManager\:\:getUnitOfWork\(\)\.$# in path /home/runner/work/data-fixtures/data-fixtures/src/ProxyReferenceRepository.php was not matched in reported errors.
Static Analysis / PHPStan (8.3): src/ProxyReferenceRepository.php#L48
Ignored error pattern #^Call to an undefined method Doctrine\\Persistence\\ObjectManager\:\:getReference\(\)\.$# in path /home/runner/work/data-fixtures/data-fixtures/src/ProxyReferenceRepository.php is expected to occur 2 times, but occurred only 1 time.
Static Analysis / PHPStan (8.3): src/ReferenceRepository.php#L1
Ignored error pattern #^Access to an undefined property Doctrine\\Persistence\\Mapping\\ClassMetadata\<object\>\:\:\$name\.$# in path /home/runner/work/data-fixtures/data-fixtures/src/ReferenceRepository.php was not matched in reported errors.
Static Analysis / PHPStan (8.3): src/ReferenceRepository.php#L174
Access to an undefined property Doctrine\Persistence\Mapping\ClassMetadata<T of object>::$name.
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/Executor/ORMExecutorSharedFixtureTest.php#L60
Call to an undefined method Doctrine\Common\DataFixtures\ReferenceRepository::getReferences().
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/Executor/ORMExecutorSharedFixtureTest.php#L63
Method Doctrine\Common\DataFixtures\ReferenceRepository::getReference() invoked with 1 parameter, 2 required.
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/Executor/ORMExecutorSharedFixtureTest.php#L67
Method Doctrine\Common\DataFixtures\ReferenceRepository::getReference() invoked with 1 parameter, 2 required.
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php#L47
Call to an undefined method Doctrine\Common\DataFixtures\ProxyReferenceRepository::getReferences().
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php#L99
Method Doctrine\Common\DataFixtures\ReferenceRepository::getReference() invoked with 1 parameter, 2 required.
Static Analysis / PHPStan (8.3): tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php#L109
Method Doctrine\Common\DataFixtures\ReferenceRepository::getReference() invoked with 1 parameter, 2 required.