Skip to content

Commit

Permalink
Merge pull request #15 from GijsL/master
Browse files Browse the repository at this point in the history
Minimal fix: Replaced setStdin with setInput
  • Loading branch information
GabrielAnca authored Feb 12, 2018
2 parents 683f69a + c9f4be6 commit 614003d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Command/AbstractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected function extractFromPhp($path)
));

$process = new Process('xgettext '.$options);
$process->setStdin(implode("\n", $files));
$process->setInput(implode("\n", $files));
$process->run();
$output = $process->getOutput();
if (!$process->isSuccessful()) {
Expand Down Expand Up @@ -255,7 +255,7 @@ protected function combineFiles(array $files, $path)
));

$process = new Process('msgcat '.$options);
$process->setStdin(implode("\n", $files));
$process->setInput(implode("\n", $files));
$process->run();
$output = $process->getOutput();

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"php": ">=5.3.2",
"symfony/framework-bundle": ">=2.1",
"twig/twig": "~1.12"
"symfony/framework-bundle": "^2.1|^3.0",
"twig/twig": "~1.12",
"symfony/process": "^2.5|^3.0"
},
"require-dev": {
},
Expand Down

0 comments on commit 614003d

Please sign in to comment.