Skip to content

Commit

Permalink
use regex instead of Illuminate Str
Browse files Browse the repository at this point in the history
  • Loading branch information
ElRochito committed Sep 14, 2023
1 parent 30a5a82 commit 01bc9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/Insights/SyntaxCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function getBinary(): string

return sprintf(
'%s %s',
(string) Str::of(Config::getExecutablePath('php'))->replace(' ', '\ '),
(string) preg_replace('#\\s+#', '\\ ',Config::getExecutablePath('php')),
escapeshellarg($parentPath . '/parallel-lint')
);
}
Expand Down

0 comments on commit 01bc9d8

Please sign in to comment.