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 545ee3c commit 97797baCopy full SHA for 97797ba
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($settings->phpExecutable);
+ $phpExecutable = PhpExecutable::getPhpExecutable(escapeshellarg($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