EntityManager::getReference() should handle a PK which is also a FK #7677
static-analysis.yml
on: pull_request
Static Analysis with Psalm
27s
Matrix: Static Analysis with PHPStan
Annotations
5 errors and 4 warnings
InvalidReturnStatement:
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)
|
InvalidReturnStatement:
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)
|
UnusedBaselineEntry:
src/EntityManager.php#L1
src/EntityManager.php:0:0: UnusedBaselineEntry: Baseline for issue "InvalidReturnStatement" has 2 extra entries. (see https://psalm.dev/316)
|
UnusedBaselineEntry:
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)
|
Static Analysis with Psalm
Process completed with exit code 2.
|
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 (default, 2.5)
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
|