Skip to content

Union types complex #649

Union types complex

Union types complex #649

Triggered via pull request July 17, 2024 20:48
Status Failure
Total duration 27s
Artifacts

coding-standards.yaml

on: pull_request
Matrix: Coding Standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Coding Standards (7.4): tests/Fixtures/TypedProperties/MappedComplexDiscriminatedUnion.php#L9
Use statements should be sorted alphabetically. The first wrong one is JMS\Serializer\Annotation\UnionDiscriminator.
Coding Standards (7.4): tests/Fixtures/TypedProperties/MappedComplexDiscriminatedUnion.php#L25
Expected 1 blank line at end of file; 2 found
Coding Standards (7.4): src/Metadata/PropertyMetadata.php#L34
Expected 0 to 1 blank lines after property, found 2.
Coding Standards (7.4): tests/Fixtures/TypedProperties/ComplexDiscriminatedUnion.php#L9
Use statements should be sorted alphabetically. The first wrong one is JMS\Serializer\Annotation\UnionDiscriminator.
Coding Standards (7.4): tests/Fixtures/TypedProperties/ComplexDiscriminatedUnion.php#L25
Expected 1 blank line at end of file; 2 found
Coding Standards (7.4): tests/Fixtures/TypedProperties/ComplexUnionTypedProperties.php#L24
Expected 1 blank line at end of file; 2 found
Coding Standards (7.4): src/GraphNavigator/SerializationGraphNavigator.php#L180
There must be a comment when fall-through is intentional in a non-empty case body
Coding Standards (7.4): tests/Fixtures/DiscriminatedComment.php#L30
Expected 1 blank line before function; 2 found
Coding Standards (7.4): tests/Fixtures/MappedDiscriminatedComment.php#L30
Expected 1 blank line before function; 2 found
Coding Standards (7.4): src/GraphNavigator/DeserializationGraphNavigator.php#L227
Variable "$propertyMetadata" not allowed in double quoted string; use concatenation instead
Coding Standards (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/
Coding Standards (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/
Coding Standards (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/
Coding Standards (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/
Coding Standards (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/