Union types deserialisation #634
static-analysis.yaml
on: pull_request
Matrix: Static Analysis with PHPStan
Annotations
27 errors and 6 warnings
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L22
PHPDoc tag @param for parameter $doctrineMetadata with type Doctrine\ORM\Mapping\ClassMetadataInfo is not subtype of native type Doctrine\Persistence\Mapping\ClassMetadata.
|
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L22
Parameter $doctrineMetadata of method JMS\Serializer\Metadata\Driver\DoctrineTypeDriver::setDiscriminator() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
|
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L26
Call to an undefined method Doctrine\Persistence\Mapping\ClassMetadata::isRootEntity().
|
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L29
Access to an undefined property Doctrine\Persistence\Mapping\ClassMetadata::$discriminatorColumn.
|
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L54
Call to method isInheritanceTypeNone() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
|
Static Analysis with PHPStan (8.1):
src/Metadata/Driver/DoctrineTypeDriver.php#L54
Class Doctrine\ORM\Mapping\ClassMetadataInfo not found.
|
Static Analysis with PHPStan (8.1):
tests/Metadata/Driver/DoctrineDriverTest.php#L144
Instantiated class Doctrine\ORM\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.1):
tests/Metadata/Driver/DoctrinePHPCRDriverTest.php#L105
Instantiated class Doctrine\ODM\PHPCR\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.1):
tests/Serializer/Doctrine/IntegrationTest.php#L146
Instantiated class Doctrine\ORM\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.1):
tests/Serializer/Doctrine/IntegrationTest.php#L204
Call to an undefined method Doctrine\ORM\Configuration::getEntityNamespace().
|
Static Analysis with PHPStan (8.0)
The job was canceled because "_8_1" failed.
|
Static Analysis with PHPStan (8.0)
Ignored error pattern #Constructor of class JMS\\Serializer\\Annotation\\.*? has an unused parameter# was not matched in reported errors.
|
Static Analysis with PHPStan (8.0)
Process completed with exit code 1.
|
Static Analysis with PHPStan (7.4)
The job was canceled because "_8_1" failed.
|
Static Analysis with PHPStan (7.4)
Ignored error pattern #Constructor of class JMS\\Serializer\\Annotation\\.*? has an unused parameter# was not matched in reported errors.
|
Static Analysis with PHPStan (7.4)
Process completed with exit code 1.
|
Static Analysis with PHPStan (8.2)
The job was canceled because "_8_1" failed.
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L22
PHPDoc tag @param for parameter $doctrineMetadata with type Doctrine\ORM\Mapping\ClassMetadataInfo is not subtype of native type Doctrine\Persistence\Mapping\ClassMetadata.
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L22
Parameter $doctrineMetadata of method JMS\Serializer\Metadata\Driver\DoctrineTypeDriver::setDiscriminator() has invalid type Doctrine\ORM\Mapping\ClassMetadataInfo.
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L26
Call to an undefined method Doctrine\Persistence\Mapping\ClassMetadata::isRootEntity().
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L29
Access to an undefined property Doctrine\Persistence\Mapping\ClassMetadata::$discriminatorColumn.
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L54
Call to method isInheritanceTypeNone() on an unknown class Doctrine\ORM\Mapping\ClassMetadataInfo.
|
Static Analysis with PHPStan (8.2):
src/Metadata/Driver/DoctrineTypeDriver.php#L54
Class Doctrine\ORM\Mapping\ClassMetadataInfo not found.
|
Static Analysis with PHPStan (8.2):
tests/Metadata/Driver/DoctrineDriverTest.php#L144
Instantiated class Doctrine\ORM\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.2):
tests/Metadata/Driver/DoctrinePHPCRDriverTest.php#L105
Instantiated class Doctrine\ODM\PHPCR\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.2):
tests/Serializer/Doctrine/IntegrationTest.php#L146
Instantiated class Doctrine\ORM\Mapping\Driver\AnnotationDriver not found.
|
Static Analysis with PHPStan (8.2):
tests/Serializer/Doctrine/IntegrationTest.php#L204
Call to an undefined method Doctrine\ORM\Configuration::getEntityNamespace().
|
Static Analysis with PHPStan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Static Analysis with PHPStan (8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Static Analysis with PHPStan (8.1)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis with PHPStan (8.0)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis with PHPStan (7.4)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Static Analysis with PHPStan (8.2)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|