fix: unset encryption.key variables in RunInSeparateProcess tests
#12915
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 20s
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.
|