diff --git a/src/File/FileExcluderFactory.php b/src/File/FileExcluderFactory.php index 700c177347..e8a0db5e1e 100644 --- a/src/File/FileExcluderFactory.php +++ b/src/File/FileExcluderFactory.php @@ -44,7 +44,7 @@ public function createAnalyseFileExcluder(): FileExcluder $paths = $this->excludePaths['analyse']; } if (array_key_exists('analyseAndScan', $this->excludePaths)) { - $paths = $this->excludePaths['analyseAndScan']; + $paths = array_merge($paths, $this->excludePaths['analyseAndScan']); } return $this->fileExcluderRawFactory->create(array_values(array_unique($paths)));