Skip to content

Commit

Permalink
Merge pull request #11 from leemcd56/master
Browse files Browse the repository at this point in the history
Added escapeshellarg and Symfony 5 to Drafter.php
  • Loading branch information
hendrikmaus authored Mar 21, 2020
2 parents 428f0f3 + 33c3a9c commit d86b824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"minimum-stability": "stable",
"require": {
"php": ">=5.6",
"symfony/process": "^2.7|^3.1.4|^4"
"symfony/process": "^2.7|^3.1.4|^4|^5"
},
"require-dev": {
"phpunit/phpunit": "^5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Drafter.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private function getProcessCommand()
$options = $this->transformOptions();
$options[] = escapeshellarg($this->input);

$command = $this->binary . ' ' . implode(' ', $options);
$command = escapeshellarg($this->binary) . ' ' . implode(' ', $options);

return $command;
}
Expand Down

0 comments on commit d86b824

Please sign in to comment.