Union types complex #670
Annotations
5 errors and 5 warnings
Run a static analysis with phpstan/phpstan:
tests/Fixtures/TypedProperties/ComplexDiscriminatedUnion.php#L21
Method JMS\Serializer\Tests\Fixtures\TypedProperties\ComplexDiscriminatedUnion::getData() uses native union types but they're supported only on PHP 8.0 and later.
|
Run a static analysis with phpstan/phpstan:
tests/Fixtures/TypedProperties/ComplexUnionTypedProperties.php#L20
Method JMS\Serializer\Tests\Fixtures\TypedProperties\ComplexUnionTypedProperties::getData() uses native union types but they're supported only on PHP 8.0 and later.
|
Run a static analysis with phpstan/phpstan:
tests/Fixtures/TypedProperties/MappedComplexDiscriminatedUnion.php#L21
Method JMS\Serializer\Tests\Fixtures\TypedProperties\MappedComplexDiscriminatedUnion::getData() uses native union types but they're supported only on PHP 8.0 and later.
|
Run a static analysis with phpstan/phpstan
Ignored error pattern #Constructor of class JMS\\Serializer\\Annotation\\.*? has an unused parameter# was not matched in reported errors.
|
Run a static analysis with phpstan/phpstan
Process completed with exit code 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/
|
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/
|
Install dependencies with Composer
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/
|
Install dependencies with Composer
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/
|
Install dependencies with Composer
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/
|
Loading