Closed
Description
What steps will reproduce the problem?
Attempt to load from filecache if cached file does not exist throws in debug mode error (although supressed).
What is the expected result?
PHP should detect whether file exists via is_file($path)
rather than via supressed errors @
. Supressed errors still show errors & warnings in debug mode and is generally not preferred way to handle missing files.
Additional info
Q | A |
---|---|
Yii version | 2.0.47 |
PHP version | 8.0+ |
Operating system | Win10 |
PR - #19773
Metadata
Metadata
Assignees
Labels
No labels