Use native proxies #36
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
41 errors
PropertyNotSetInConstructor:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L9
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:9:13: PropertyNotSetInConstructor: Property Doctrine\ORM\Mapping\ReflectionLazyProperty::$name is not defined in constructor of Doctrine\ORM\Mapping\ReflectionLazyProperty or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L9
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:9:13: PropertyNotSetInConstructor: Property Doctrine\ORM\Mapping\ReflectionLazyProperty::$class is not defined in constructor of Doctrine\ORM\Mapping\ReflectionLazyProperty or in any methods called in the constructor (see https://psalm.dev/074)
|
UndefinedClass:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L25
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:25:18: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
ArgumentTypeCoercion:
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L223
lib/Doctrine/ORM/Proxy/ProxyFactory.php:223:44: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
|
UndefinedClass:
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L224
lib/Doctrine/ORM/Proxy/ProxyFactory.php:224:18: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
RedundantCondition:
lib/Doctrine/ORM/Tools/Debug.php#L126
lib/Doctrine/ORM/Tools/Debug.php:126:13: RedundantCondition: Type object for $var is always object (see https://psalm.dev/122)
|
UndefinedClass:
lib/Doctrine/ORM/Tools/Debug.php#L126
lib/Doctrine/ORM/Tools/Debug.php:126:32: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2313
lib/Doctrine/ORM/UnitOfWork.php:2313:22: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2863
lib/Doctrine/ORM/UnitOfWork.php:2863:14: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2881
lib/Doctrine/ORM/UnitOfWork.php:2881:34: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
Static Analysis with Psalm (default)
The job was canceled because "_3_7" failed.
|
PropertyNotSetInConstructor:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L9
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:9:13: PropertyNotSetInConstructor: Property Doctrine\ORM\Mapping\ReflectionLazyProperty::$name is not defined in constructor of Doctrine\ORM\Mapping\ReflectionLazyProperty or in any methods called in the constructor (see https://psalm.dev/074)
|
PropertyNotSetInConstructor:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L9
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:9:13: PropertyNotSetInConstructor: Property Doctrine\ORM\Mapping\ReflectionLazyProperty::$class is not defined in constructor of Doctrine\ORM\Mapping\ReflectionLazyProperty or in any methods called in the constructor (see https://psalm.dev/074)
|
UndefinedClass:
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L25
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php:25:18: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
ArgumentTypeCoercion:
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L223
lib/Doctrine/ORM/Proxy/ProxyFactory.php:223:44: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
|
UndefinedClass:
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L224
lib/Doctrine/ORM/Proxy/ProxyFactory.php:224:18: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
RedundantCondition:
lib/Doctrine/ORM/Tools/Debug.php#L126
lib/Doctrine/ORM/Tools/Debug.php:126:13: RedundantCondition: Type object for $var is always object (see https://psalm.dev/122)
|
UndefinedClass:
lib/Doctrine/ORM/Tools/Debug.php#L126
lib/Doctrine/ORM/Tools/Debug.php:126:32: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2313
lib/Doctrine/ORM/UnitOfWork.php:2313:22: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2863
lib/Doctrine/ORM/UnitOfWork.php:2863:14: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
UndefinedClass:
lib/Doctrine/ORM/UnitOfWork.php#L2881
lib/Doctrine/ORM/UnitOfWork.php:2881:34: UndefinedClass: Class, interface or enum named ReflectionLazyObject does not exist (see https://psalm.dev/019)
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L25
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L1
Ignored error pattern #^Call to an undefined static method Doctrine\\ORM\\Proxy\\ProxyFactory\:\:createLazyGhost\(\)\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php was not matched in reported errors.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L92
Property Doctrine\ORM\Proxy\ProxyFactory::$proxyDir is never read, only written.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L224
Call to static method makeLazy() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L226
Access to constant SKIP_INITIALIZATION_ON_SERIALIZE on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/Tools/Debug.php#L126
Call to static method isLazyObject() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2313
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2863
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2881
Call to static method isLazyObject() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (3.7, phpstan-dbal3.neon)
Process completed with exit code 1.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Mapping/ReflectionLazyProperty.php#L25
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L1
Ignored error pattern #^Call to an undefined static method Doctrine\\ORM\\Proxy\\ProxyFactory\:\:createLazyGhost\(\)\.$# in path /home/runner/work/doctrine-orm/doctrine-orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php was not matched in reported errors.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L92
Property Doctrine\ORM\Proxy\ProxyFactory::$proxyDir is never read, only written.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L224
Call to static method makeLazy() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Proxy/ProxyFactory.php#L226
Access to constant SKIP_INITIALIZATION_ON_SERIALIZE on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/Tools/Debug.php#L126
Call to static method isLazyObject() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2313
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2863
Call to static method fromInstance() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon):
lib/Doctrine/ORM/UnitOfWork.php#L2881
Call to static method isLazyObject() on an unknown class ReflectionLazyObject.
|
Static Analysis with PHPStan (default, phpstan.neon)
Process completed with exit code 1.
|