Skip to content

Commit 2788f1a

Browse files
authored
Merge pull request #3438 from kdambekalns/bugfix/fopen-warning-in-readCacheFile
BUGFIX: Silence warning in `readCacheFile()`
2 parents c8fe09c + c7b119b commit 2788f1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Neos.Cache/Classes/Backend/SimpleFileBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ protected function readCacheFile(string $cacheEntryPathAndFilename, int $offset
498498
for ($i = 0; $i < 3; $i++) {
499499
$data = false;
500500
try {
501-
$file = fopen($cacheEntryPathAndFilename, 'rb');
501+
$file = @fopen($cacheEntryPathAndFilename, 'rb');
502502
if ($file === false) {
503503
continue;
504504
}

0 commit comments

Comments
 (0)