Skip to content

Commit

Permalink
Result cache should not be invalidated by changes to editorUrl, edito…
Browse files Browse the repository at this point in the history
…rUrlTitle and errorFormat parameters
  • Loading branch information
bendavies authored and ondrejmirtes committed Dec 21, 2022
1 parent db2de6f commit 51774ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Analyser/ResultCache/ResultCacheManager.php
Expand Up @@ -734,6 +734,9 @@ private function getMeta(array $allAnalysedFiles, ?array $projectConfigArray): a
sort($extensions);

if ($projectConfigArray !== null) {
unset($projectConfigArray['parameters']['editorUrl']);
unset($projectConfigArray['parameters']['editorUrlTitle']);
unset($projectConfigArray['parameters']['errorFormat']);
unset($projectConfigArray['parameters']['ignoreErrors']);
unset($projectConfigArray['parameters']['tipsOfTheDay']);
unset($projectConfigArray['parameters']['parallel']);
Expand Down

0 comments on commit 51774ef

Please sign in to comment.