We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f873f0 commit 51fcdc2Copy full SHA for 51fcdc2
packages/Caching/Detector/ChangedFilesDetector.php
@@ -4,7 +4,6 @@
4
5
namespace Rector\Caching\Detector;
6
7
-use Nette\Utils\Strings;
8
use Rector\Caching\Cache;
9
use Rector\Caching\Config\FileHashComputer;
10
use Rector\Caching\Enum\CacheKey;
@@ -113,7 +112,7 @@ private function hashFile(string $filePath): string
113
112
114
private function storeConfigurationDataHash(string $filePath, string $configurationHash): void
115
{
116
- $key = CacheKey::CONFIGURATION_HASH_KEY . '_' . Strings::webalize($filePath);
+ $key = CacheKey::CONFIGURATION_HASH_KEY . '_' . $this->hashFile($filePath);
117
$this->invalidateCacheIfConfigurationChanged($key, $configurationHash);
118
119
$this->cache->save($key, CacheKey::CONFIGURATION_HASH_KEY, $configurationHash);
0 commit comments