Fix cloning entities #7439
Annotations
6 errors and 1 warning
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L357
src/Proxy/ProxyFactory.php:357:16: InvalidReturnType: The declared return type 'Closure(Doctrine\ORM\Proxy\InternalProxy, Doctrine\ORM\Proxy\InternalProxy):void' for Doctrine\ORM\Proxy\ProxyFactory::createLazyInitializer is incorrect, got 'impure-Closure(Doctrine\ORM\Proxy\InternalProxy, array<array-key, mixed>):void' (see https://psalm.dev/011)
|
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L363
src/Proxy/ProxyFactory.php:363:16: InvalidReturnStatement: The inferred type 'impure-Closure(Doctrine\ORM\Proxy\InternalProxy, array<array-key, mixed>):void' does not match the declared return type 'Closure(Doctrine\ORM\Proxy\InternalProxy, Doctrine\ORM\Proxy\InternalProxy):void' for Doctrine\ORM\Proxy\ProxyFactory::createLazyInitializer (see https://psalm.dev/128)
|
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L470
src/Proxy/ProxyFactory.php:470:22: UndefinedMethod: Method Doctrine\ORM\Proxy\ProxyFactory::createlazyghost does not exist (see https://psalm.dev/022)
|
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L471
src/Proxy/ProxyFactory.php:471:39: InvalidArgument: Argument 2 expects Doctrine\ORM\Proxy\InternalProxy<object>, but array<array-key, mixed> provided (see https://psalm.dev/004)
|
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L1
src/Proxy/ProxyFactory.php:0:0: UnusedBaselineEntry: Baseline for issue "UndefinedMethod" has 1 extra entry. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm
Process completed with exit code 2.
|
Post Checkout code
The process '/usr/bin/git' failed with exit code 128
|
Loading