Skip to content

feat(encryption): Add previous keys fallback feature #13373

feat(encryption): Add previous keys fallback feature

feat(encryption): Add previous keys fallback feature #13373

Triggered via pull request December 25, 2025 12:12
Status Failure
Total duration 1m 31s
Artifacts

test-phpstan.yml

on: pull_request
PHP Static Analysis
1m 28s
PHP Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

8 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: system/Encryption/Handlers/SodiumHandler.php#L113
Construct empty() is not allowed. Use more strict comparison.
PHP Static Analysis: system/Encryption/Handlers/SodiumHandler.php#L53
Ignored error pattern #^Construct empty\(\) is not allowed\. Use more strict comparison\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Encryption/Handlers/SodiumHandler.php is expected to occur 2 times, but occurred 3 times.
PHP Static Analysis: system/Encryption/Handlers/SodiumHandler.php#L37
Property CodeIgniter\Encryption\Handlers\SodiumHandler::$previousKeys type has no value type specified in iterable type array.
PHP Static Analysis: system/Encryption/Handlers/OpenSSLHandler.php#L157
Construct empty() is not allowed. Use more strict comparison.
PHP Static Analysis: system/Encryption/Handlers/OpenSSLHandler.php#L95
Ignored error pattern #^Construct empty\(\) is not allowed\. Use more strict comparison\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/system/Encryption/Handlers/OpenSSLHandler.php is expected to occur 2 times, but occurred 3 times.
PHP Static Analysis: system/Encryption/Handlers/OpenSSLHandler.php#L62
Property CodeIgniter\Encryption\Handlers\OpenSSLHandler::$previousKeys type has no value type specified in iterable type array.
PHP Static Analysis: app/Config/Encryption.php#L33
Property Config\Encryption::$previousKeys type has no value type specified in iterable type array.