Skip to content

fix: unset encryption.key variables in RunInSeparateProcess tests #12915

fix: unset encryption.key variables in RunInSeparateProcess tests

fix: unset encryption.key variables in RunInSeparateProcess tests #12915

Triggered via pull request August 11, 2025 15:48
Status Failure
Total duration 1m 24s
Artifacts

test-phpstan.yml

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

Annotations

6 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/Config/DotEnvTest.php#L109
Accessing offset 'encryption.key' directly on $_SERVER is discouraged.
PHP Static Analysis: tests/system/Config/DotEnvTest.php#L94
Accessing offset 'encryption.key' directly on $_SERVER is discouraged.
PHP Static Analysis: tests/system/Config/DotEnvTest.php#L0
Ignored error pattern #^Parameter \#2 \$file of class CodeIgniter\\Config\\DotEnv constructor expects string, int given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Config/DotEnvTest.php was not matched in reported errors.
PHP Static Analysis: tests/system/Config/BaseConfigTest.php#L217
Accessing offset 'encryption.key' directly on $_SERVER is discouraged.
PHP Static Analysis: tests/system/Config/BaseConfigTest.php#L201
Accessing offset 'encryption.key' directly on $_SERVER is discouraged.