Skip to content

Union types deserialisation #640

Union types deserialisation

Union types deserialisation #640

Re-run triggered July 4, 2024 21:00
Status Failure
Total duration 39s
Artifacts

static-analysis.yaml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 10 warnings
Static Analysis with PHPStan (7.4): src/Handler/UnionHandler.php#L102
Method JMS\Serializer\Handler\UnionHandler::determineType() uses native union types but they're supported only on PHP 8.0 and later.
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.0)
The job was canceled because "_7_4" 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 (8.1)
The job was canceled because "_7_4" 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 (8.2)
The job was canceled because "_7_4" 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 (7.4)
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 (7.4)
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 (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 (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 (7.4)
The `set-output` 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 (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.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.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.2)
The `set-output` 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/