Skip to content

Update sodium_compat dependency #188

Update sodium_compat dependency

Update sodium_compat dependency #188

Triggered via pull request April 19, 2024 23:54
Status Failure
Total duration 33s
Artifacts

ci.yml

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

Annotations

22 errors
PHP 8.4 Test on ubuntu-latest
Process completed with exit code 1.
PHP 8.3 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_4_latest" failed.
InvalidReturnStatement: src/Keys/Version3/SymmetricKey.php#L24
src/Keys/Version3/SymmetricKey.php:24:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version3\SymmetricKey::__construct (see https://psalm.dev/128)
InvalidReturnStatement: src/Keys/Version4/SymmetricKey.php#L22
src/Keys/Version4/SymmetricKey.php:22:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version4\SymmetricKey::__construct (see https://psalm.dev/128)
RiskyTruthyFalsyComparison: src/Rules/FooterJSON.php#L103
src/Rules/FooterJSON.php:103:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|bool|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L58
src/Util.php:58:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L64
src/Util.php:64:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.3 Test on ubuntu-latest
Process completed with exit code 2.
PHP 8.2 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_4_latest" failed.
InvalidReturnStatement: src/Keys/Version3/SymmetricKey.php#L24
src/Keys/Version3/SymmetricKey.php:24:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version3\SymmetricKey::__construct (see https://psalm.dev/128)
InvalidReturnStatement: src/Keys/Version4/SymmetricKey.php#L22
src/Keys/Version4/SymmetricKey.php:22:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version4\SymmetricKey::__construct (see https://psalm.dev/128)
RiskyTruthyFalsyComparison: src/Rules/FooterJSON.php#L103
src/Rules/FooterJSON.php:103:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|bool|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L58
src/Util.php:58:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L64
src/Util.php:64:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.2 Test on ubuntu-latest
Process completed with exit code 2.
PHP 8.1 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_4_latest" failed.
InvalidReturnStatement: src/Keys/Version3/SymmetricKey.php#L24
src/Keys/Version3/SymmetricKey.php:24:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version3\SymmetricKey::__construct (see https://psalm.dev/128)
InvalidReturnStatement: src/Keys/Version4/SymmetricKey.php#L22
src/Keys/Version4/SymmetricKey.php:22:16: InvalidReturnStatement: No return values are expected for ParagonIE\Paseto\Keys\Version4\SymmetricKey::__construct (see https://psalm.dev/128)
RiskyTruthyFalsyComparison: src/Rules/FooterJSON.php#L103
src/Rules/FooterJSON.php:103:13: RiskyTruthyFalsyComparison: Operand of type array<array-key, mixed>|bool|null contains type array<array-key, mixed>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L58
src/Util.php:58:17: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/Util.php#L64
src/Util.php:64:14: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
PHP 8.1 Test on ubuntu-latest
The operation was canceled.