Prototype for ReflectionClass::newLazyGhost #7698
static-analysis.yml
on: pull_request
Static Analysis with Psalm
22s
Matrix: Static Analysis with PHPStan
Annotations
25 errors and 4 warnings
ArgumentTypeCoercion:
src/Proxy/ProxyFactory.php#L208
src/Proxy/ProxyFactory.php:208:63: ArgumentTypeCoercion: Argument 1 of Doctrine\ORM\UnitOfWork::getEntityPersister expects class-string, but parent type string provided (see https://psalm.dev/193)
|
PossiblyNullReference:
src/Proxy/ProxyFactory.php#L210
src/Proxy/ProxyFactory.php:210:49: PossiblyNullReference: Cannot call method newLazyGhost on possibly null value (see https://psalm.dev/083)
|
UndefinedMethod:
src/Proxy/ProxyFactory.php#L210
src/Proxy/ProxyFactory.php:210:49: UndefinedMethod: Method ReflectionClass::newLazyGhost does not exist (see https://psalm.dev/022)
|
MissingClosureParamType:
src/Proxy/ProxyFactory.php#L210
src/Proxy/ProxyFactory.php:210:72: MissingClosureParamType: Parameter $object has no provided type (see https://psalm.dev/153)
|
PossiblyNullReference:
src/Proxy/ProxyFactory.php#L215
src/Proxy/ProxyFactory.php:215:55: PossiblyNullReference: Cannot call method setRawValueWithoutLazyInitialization on possibly null value (see https://psalm.dev/083)
|
UndefinedMethod:
src/Proxy/ProxyFactory.php#L215
src/Proxy/ProxyFactory.php:215:55: UndefinedMethod: Method ReflectionProperty::setRawValueWithoutLazyInitialization does not exist (see https://psalm.dev/022)
|
UndefinedMethod:
src/UnitOfWork.php#L3722
src/UnitOfWork.php:3722:26: UndefinedMethod: Method ReflectionObject::initializeLazyObject does not exist (see https://psalm.dev/022)
|
PossiblyNullReference:
src/UnitOfWork.php#L3736
src/UnitOfWork.php:3736:77: PossiblyNullReference: Cannot call method isUninitializedLazyObject on possibly null value (see https://psalm.dev/083)
|
UndefinedMethod:
src/UnitOfWork.php#L3736
src/UnitOfWork.php:3736:77: UndefinedMethod: Method ReflectionClass::isUninitializedLazyObject does not exist (see https://psalm.dev/022)
|
Static Analysis with Psalm
Process completed with exit code 2.
|
Static Analysis with PHPStan (default, default):
src/Proxy/ProxyFactory.php#L210
Call to an undefined method ReflectionClass::newLazyGhost().
|
Static Analysis with PHPStan (default, default):
src/Proxy/ProxyFactory.php#L215
Call to an undefined method ReflectionProperty::setRawValueWithoutLazyInitialization().
|
Static Analysis with PHPStan (default, default):
src/UnitOfWork.php#L3722
Call to an undefined method ReflectionObject::initializeLazyObject().
|
Static Analysis with PHPStan (default, default):
src/UnitOfWork.php#L3736
Call to an undefined method ReflectionClass::isUninitializedLazyObject().
|
Static Analysis with PHPStan (default, default)
Process completed with exit code 1.
|
Static Analysis with PHPStan (2.13, default):
src/Proxy/ProxyFactory.php#L210
Call to an undefined method ReflectionClass::newLazyGhost().
|
Static Analysis with PHPStan (2.13, default):
src/Proxy/ProxyFactory.php#L215
Call to an undefined method ReflectionProperty::setRawValueWithoutLazyInitialization().
|
Static Analysis with PHPStan (2.13, default):
src/UnitOfWork.php#L3722
Call to an undefined method ReflectionObject::initializeLazyObject().
|
Static Analysis with PHPStan (2.13, default):
src/UnitOfWork.php#L3736
Call to an undefined method ReflectionClass::isUninitializedLazyObject().
|
Static Analysis with PHPStan (2.13, default)
Process completed with exit code 1.
|
Static Analysis with PHPStan (default, 2.5):
src/Proxy/ProxyFactory.php#L210
Call to an undefined method ReflectionClass::newLazyGhost().
|
Static Analysis with PHPStan (default, 2.5):
src/Proxy/ProxyFactory.php#L215
Call to an undefined method ReflectionProperty::setRawValueWithoutLazyInitialization().
|
Static Analysis with PHPStan (default, 2.5):
src/UnitOfWork.php#L3722
Call to an undefined method ReflectionObject::initializeLazyObject().
|
Static Analysis with PHPStan (default, 2.5):
src/UnitOfWork.php#L3736
Call to an undefined method ReflectionClass::isUninitializedLazyObject().
|
Static Analysis with PHPStan (default, 2.5)
Process completed with exit code 1.
|
Static Analysis with Psalm
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with PHPStan (default, default)
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with PHPStan (2.13, default)
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with PHPStan (default, 2.5)
The process '/usr/bin/git' failed with exit code 128
|