Necessary refactorings for Property hooks #7945
Annotations
9 errors
|
Run static analysis with phpstan/phpstan:
src/Mapping/ClassMetadata.php#L874
Parameter #3 $embeddedClass of class Doctrine\ORM\Mapping\PropertyAccessors\EmbeddablePropertyAccessor constructor expects class-string, string given.
|
Run static analysis with phpstan/phpstan:
src/Mapping/ClassMetadata.php#L2692
PHPDoc tag @param references unknown parameter: $class
|
Run static analysis with phpstan/phpstan:
src/Mapping/LegacyReflectionFields.php#L32
Method Doctrine\ORM\Mapping\LegacyReflectionFields::__construct() has parameter $classMetadata with generic class Doctrine\ORM\Mapping\ClassMetadata but does not specify its types: T
|
Run static analysis with phpstan/phpstan:
src/Mapping/LegacyReflectionFields.php#L82
Parameter #1 $class of method Doctrine\ORM\Mapping\LegacyReflectionFields::getAccessibleProperty() expects class-string, string given.
|
Run static analysis with phpstan/phpstan:
src/Mapping/LegacyReflectionFields.php#L144
Parameter #1 $class of method Doctrine\Persistence\Mapping\ReflectionService::getAccessibleProperty() expects class-string, string given.
|
Run static analysis with phpstan/phpstan:
src/Mapping/PropertyAccessors/EnumPropertyAccessor.php#L74
Method Doctrine\ORM\Mapping\PropertyAccessors\EnumPropertyAccessor::toEnum() should return array<BackedEnum>|BackedEnum but returns array<BackedEnum|int|string>.
|
Run static analysis with phpstan/phpstan:
src/Mapping/PropertyAccessors/EnumPropertyAccessor.php#L77
Parameter #1 $callback of function array_map expects (callable(BackedEnum|int|string): mixed)|null, array{class-string<BackedEnum>, 'from'} given.
|
Run static analysis with phpstan/phpstan
Process completed with exit code 1.
|
Loading