Skip to content

Commit cefbb1d

Browse files
committed
Fix
1 parent 2a87b3a commit cefbb1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,13 +537,15 @@ private function getMeta(?array $projectConfigArray): array
537537
unset($projectConfigArray['parameters']['reportUnmatchedIgnoredErrors']);
538538
unset($projectConfigArray['parameters']['memoryLimitFile']);
539539
unset($projectConfigArray['parametersSchema']);
540+
541+
$projectConfigArray = Neon::encode($projectConfigArray);
540542
}
541543

542544
return [
543545
'cacheVersion' => self::CACHE_VERSION,
544546
'phpstanVersion' => $this->getPhpStanVersion(),
545547
'phpVersion' => PHP_VERSION_ID,
546-
'projectConfig' => Neon::encode($projectConfigArray),
548+
'projectConfig' => $projectConfigArray,
547549
'analysedPaths' => $this->analysedPaths,
548550
'composerLocks' => $this->getComposerLocks(),
549551
'cliAutoloadFile' => $this->cliAutoloadFile,

0 commit comments

Comments
 (0)