Detect invalid indexBy
configuration in the SchemaValidator
#7660
static-analysis.yml
on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Annotations
7 errors and 6 warnings
PossiblyUndefinedMethod:
src/Tools/SchemaValidator.php#L291
src/Tools/SchemaValidator.php:291:40: PossiblyUndefinedMethod: Method (Doctrine\ORM\Mapping\InverseSideMapping&Doctrine\ORM\Mapping\OneToOneAssociationMapping&Doctrine\ORM\Mapping\ManyToOneAssociationMapping)::indexBy does not exist (see https://psalm.dev/108)
|
PossiblyUndefinedMethod:
src/Tools/SchemaValidator.php#L293
src/Tools/SchemaValidator.php:293:33: PossiblyUndefinedMethod: Method (Doctrine\ORM\Mapping\InverseSideMapping&Doctrine\ORM\Mapping\OneToOneAssociationMapping&Doctrine\ORM\Mapping\ManyToOneAssociationMapping)::indexBy does not exist (see https://psalm.dev/108)
|
Static Analysis with Psalm (default)
Process completed with exit code 2.
|
Static Analysis with Psalm (3.8.2)
The job was canceled because "default" failed.
|
PossiblyUndefinedMethod:
src/Tools/SchemaValidator.php#L291
src/Tools/SchemaValidator.php:291:40: PossiblyUndefinedMethod: Method (Doctrine\ORM\Mapping\InverseSideMapping&Doctrine\ORM\Mapping\OneToOneAssociationMapping&Doctrine\ORM\Mapping\ManyToOneAssociationMapping)::indexBy does not exist (see https://psalm.dev/108)
|
PossiblyUndefinedMethod:
src/Tools/SchemaValidator.php#L293
src/Tools/SchemaValidator.php:293:33: PossiblyUndefinedMethod: Method (Doctrine\ORM\Mapping\InverseSideMapping&Doctrine\ORM\Mapping\OneToOneAssociationMapping&Doctrine\ORM\Mapping\ManyToOneAssociationMapping)::indexBy does not exist (see https://psalm.dev/108)
|
Static Analysis with Psalm (3.8.2)
The operation was canceled.
|
Static Analysis with Psalm (default)
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with PHPStan (default, phpstan.neon)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Analysis with PHPStan (default, phpstan.neon)
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
The process '/usr/bin/git' failed with exit code 128
|
Static Analysis with Psalm (3.8.2)
The process '/usr/bin/git' failed with exit code 128
|