Skip to content

Merge pull request #1546 from idbentley/union-types-deserialisation #644

Merge pull request #1546 from idbentley/union-types-deserialisation

Merge pull request #1546 from idbentley/union-types-deserialisation #644

Triggered via push July 9, 2024 19:43
Status Failure
Total duration 37s
Artifacts
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 6 warnings
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)
The job was canceled because "_8_2" failed.
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 (7.4)
The job was canceled because "_8_2" failed.
Static Analysis with PHPStan (7.4)
The operation was canceled.
Static Analysis with PHPStan (8.0)
The job was canceled because "_8_2" 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)
The operation was canceled.
Static Analysis with PHPStan (8.2)
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.2)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, ramsey/composer-install@v1. 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 (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/
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 (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.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/