Skip to content

fix: Logger - allow variable {line} to be used without variable {file} when logging message #12489

fix: Logger - allow variable {line} to be used without variable {file} when logging message

fix: Logger - allow variable {line} to be used without variable {file} when logging message #12489

Triggered via pull request April 3, 2025 06:14
Status Failure
Total duration 33s
Artifacts

test-phpstan.yml

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

Annotations

3 errors
PHP Static Analysis
Process completed with exit code 1.
PHP Static Analysis: tests/system/Log/LoggerTest.php#L443
Parameter #1 $config of class CodeIgniter\Log\Logger constructor expects Config\Logger, CodeIgniter\Test\Mock\MockLogger given.
PHP Static Analysis: tests/system/Log/LoggerTest.php#L50
Ignored error pattern #^Parameter \#1 \$config of class CodeIgniter\\Log\\Logger constructor expects Config\\Logger, CodeIgniter\\Test\\Mock\\MockLogger given\.$# in path /home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Log/LoggerTest.php is expected to occur 24 times, but occurred 25 times.