Skip to content

Commit 7bf18c8

Browse files
committed
FNSR is part of result cache meta keys
1 parent 718e347 commit 7bf18c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,9 +1025,12 @@ private function getMeta(array $allAnalysedFiles, ?array $projectConfigArray): a
10251025
ksort($projectConfigArray);
10261026
}
10271027

1028+
$fnsr = getenv('PHPSTAN_FNSR', true);
1029+
10281030
return [
10291031
'cacheVersion' => self::CACHE_VERSION,
10301032
'phpstanVersion' => ComposerHelper::getPhpStanVersion(),
1033+
'fnsr' => $fnsr,
10311034
'metaExtensions' => $this->getMetaFromPhpStanExtensions(),
10321035
'phpVersion' => PHP_VERSION_ID,
10331036
'projectConfig' => $projectConfigArray,

0 commit comments

Comments
 (0)