diff --git a/src/StaticAnalysis/CachingFileAnalyser.php b/src/StaticAnalysis/CachingFileAnalyser.php index 5a3986a00..7ca794310 100644 --- a/src/StaticAnalysis/CachingFileAnalyser.php +++ b/src/StaticAnalysis/CachingFileAnalyser.php @@ -137,9 +137,7 @@ private function read(string $filename) } return unserialize( - file_get_contents( - $cacheFile - ), + file_get_contents($cacheFile), ['allowed_classes' => false] ); }