Skip to content

Union types deserialisation #639

Union types deserialisation

Union types deserialisation #639

Re-run triggered July 3, 2024 18:25
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 3 warnings
Coding Standards (7.4): src/Handler/UnionHandler.php#L17
Visibility must be declared on property "$aliases"
Coding Standards (7.4): src/Handler/UnionHandler.php#L21
Expected 1 blank line before function; 0 found
Coding Standards (7.4): src/Handler/UnionHandler.php#L26
Expected 1 line after "foreach", found 0.
Coding Standards (7.4): src/Handler/UnionHandler.php#L40
Expected 1 line before "return", found 0.
Coding Standards (7.4): src/Handler/UnionHandler.php#L56
Method \JMS\Serializer\Handler\UnionHandler::deserializeUnion() does not need documentation comment.
Coding Standards (7.4): src/Handler/UnionHandler.php#L87
Whitespace found at end of line
Coding Standards (7.4): src/Handler/UnionHandler.php#L93
Expected 1 line after "if", found 0.
Coding Standards (7.4): src/Handler/UnionHandler.php#L94
Expected 1 space after FUNCTION keyword; 0 found
Coding Standards (7.4): src/Handler/UnionHandler.php#L94
Closure not using "$this" should be declared static.
Coding Standards (7.4): src/Handler/UnionHandler.php#L96
Expected 1 line before "return", found 0.
Coding Standards (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/.
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 `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/