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 97797ba commit f27cef9Copy full SHA for f27cef9
src/Manager.php
@@ -38,7 +38,7 @@ public function run(Settings $settings = null)
38
$settings = $settings ?: new Settings();
39
$output = $this->output ?: $this->getDefaultOutput($settings);
40
41
- $phpExecutable = PhpExecutable::getPhpExecutable(escapeshellarg($settings->phpExecutable));
+ $phpExecutable = PhpExecutable::getPhpExecutable(preg_replace('`(?<!^) `', '^ ', escapeshellcmd($settings->phpExecutable)));
42
$olderThanPhp54 = $phpExecutable->getVersionId() < 50400; // From PHP version 5.4 are tokens translated by default
43
$translateTokens = $phpExecutable->isIsHhvmType() || $olderThanPhp54;
44
0 commit comments