EntityManager::getReference() should handle a PK which is also a FK #7677
Annotations
5 errors and 1 warning
Run a static analysis with vimeo/psalm:
src/EntityManager.php#L477
src/EntityManager.php:477:24: InvalidReturnStatement: The inferred type 'null|object' does not match the declared return type '(T:fn-doctrine\orm\entitymanager::find as object)|null' for Doctrine\ORM\EntityManager::find (see https://psalm.dev/128)
|
Run a static analysis with vimeo/psalm:
src/EntityManager.php#L480
src/EntityManager.php:480:24: InvalidReturnStatement: The inferred type 'null|object' does not match the declared return type '(T:fn-doctrine\orm\entitymanager::find as object)|null' for Doctrine\ORM\EntityManager::find (see https://psalm.dev/128)
|
Run a static analysis with vimeo/psalm:
src/EntityManager.php#L1
src/EntityManager.php:0:0: UnusedBaselineEntry: Baseline for issue "InvalidReturnStatement" has 2 extra entries. (see https://psalm.dev/316)
|
Run a static analysis with vimeo/psalm:
src/Proxy/ProxyFactory.php#L1
src/Proxy/ProxyFactory.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullReference" 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