Skip to content

docs(annotations): Prefer Attributes over Annotations #609

docs(annotations): Prefer Attributes over Annotations

docs(annotations): Prefer Attributes over Annotations #609

Triggered via pull request January 30, 2024 21:57
Status Failure
Total duration 33s
Artifacts

static-analysis.yaml

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

Annotations

21 errors and 12 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#L100
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): 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#L100
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 operation was canceled.
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.2)
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.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 `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)
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 (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 `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)
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.0)
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.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/