diff --git a/src/Domain/Insights/SyntaxCheck.php b/src/Domain/Insights/SyntaxCheck.php index 3c83ebbb..5d75481d 100644 --- a/src/Domain/Insights/SyntaxCheck.php +++ b/src/Domain/Insights/SyntaxCheck.php @@ -41,7 +41,7 @@ public function process(): void $toAnalyse = $this->getTarget(); $cmdLine = sprintf( - '%s --no-colors --no-progress --json %s %s', + '"%s" --no-colors --no-progress --json %s %s', $this->getBinary(), implode(' ', $this->getShellExcludeArgs()), $toAnalyse