Skip to content

Add union type to suppress deprecation warning #8

Add union type to suppress deprecation warning

Add union type to suppress deprecation warning #8

Triggered via push November 8, 2023 11:15
Status Failure
Total duration 53s
Artifacts
Matrix: test_and_lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
InvalidArgument: src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php#L60
src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php:60:12: InvalidArgument: Argument 2 of Http\Promise\Promise::then expects callable(Exception):mixed|null, but impure-Closure(Http\Client\Exception):mixed provided (see https://psalm.dev/004)
test_and_lint (8.1, )
Process completed with exit code 2.
test_and_lint (8.1, --prefer-lowest)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov' failed with exit code 255
InvalidArgument: src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php#L60
src/HttpClient/Plugin/RetryOauthAuthenticationPlugin.php:60:12: InvalidArgument: Argument 2 of Http\Promise\Promise::then expects callable(Exception):mixed|null, but impure-Closure(Http\Client\Exception):mixed provided (see https://psalm.dev/004)
test_and_lint (8.2, )
Process completed with exit code 2.
test_and_lint (8.2, --prefer-lowest)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v2/dist/codecov' failed with exit code 255
test_and_lint (8.1, )
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_and_lint (8.1, --prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_and_lint (8.2, )
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_and_lint (8.2, --prefer-lowest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/