Skip to content

Currency should be JSON serializable #134

Currency should be JSON serializable

Currency should be JSON serializable #134

Triggered via pull request August 24, 2023 20:55
Status Failure
Total duration 31s
Artifacts

ci.yml

on: pull_request
Matrix: PHPUnit
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 11 warnings
PHPUnit (8.0, lowest)
Process completed with exit code 1.
PHPUnit (8.1, highest)
Process completed with exit code 1.
PHPUnit (8.3, highest)
The operation was canceled.
PHPUnit (8.0, highest)
The operation was canceled.
PHPUnit (8.2, highest)
The operation was canceled.
InvalidReturnType: src/Currency.php#L170
src/Currency.php:170:44: InvalidReturnType: The declared return type 'array<array-key, mixed>' for Brick\Money\Currency::jsonSerialize is incorrect, got 'string' (see https://psalm.dev/011)
InvalidReturnStatement: src/Currency.php#L172
src/Currency.php:172:16: InvalidReturnStatement: The inferred type 'string' does not match the declared return type 'array<array-key, mixed>' for Brick\Money\Currency::jsonSerialize (see https://psalm.dev/128)
Psalm
Process completed with exit code 2.
PHPUnit (8.0, lowest)
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/
PHPUnit (8.0, lowest)
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/
PHPUnit (8.1, highest)
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/
PHPUnit (8.1, highest)
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/
PHPUnit (8.3, highest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPUnit (8.0, highest)
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/
PHPUnit (8.0, highest)
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/
PHPUnit (8.2, highest)
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/
PHPUnit (8.2, highest)
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/
Psalm
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/
Psalm
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/