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 41f6d34 commit 602c718Copy full SHA for 602c718
src/Analyser/ResultCache/ResultCacheManager.php
@@ -2,6 +2,7 @@
2
3
namespace PHPStan\Analyser\ResultCache;
4
5
+use Nette\Neon\Neon;
6
use PHPStan\Analyser\AnalyserResult;
7
use PHPStan\Analyser\Error;
8
use PHPStan\Command\Output;
@@ -541,7 +542,7 @@ private function getMeta(?array $projectConfigArray): array
541
542
'cacheVersion' => self::CACHE_VERSION,
543
'phpstanVersion' => $this->getPhpStanVersion(),
544
'phpVersion' => PHP_VERSION_ID,
- 'projectConfig' => $projectConfigArray,
545
+ 'projectConfig' => Neon::encode($projectConfigArray),
546
'analysedPaths' => $this->analysedPaths,
547
'composerLocks' => $this->getComposerLocks(),
548
'cliAutoloadFile' => $this->cliAutoloadFile,
0 commit comments