We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e584c commit 6a921e8Copy full SHA for 6a921e8
src/RobotLoader/RobotLoader.php
@@ -503,7 +503,7 @@ private function generateCacheFileName(): string
503
throw new \LogicException('Set path to temporary directory using setTempDirectory().');
504
}
505
506
- return $this->tempDirectory . '/' . md5(serialize($this->generateCacheKey())) . '.php';
+ return $this->tempDirectory . '/' . hash(PHP_VERSION_ID < 80100 ? 'md5' : 'xxh128', serialize($this->generateCacheKey())) . '.php';
507
508
509
0 commit comments