Skip to content

Commit

Permalink
[zendframework#3029] Move "fix" keyword
Browse files Browse the repository at this point in the history
- Moved to after command, but before options
  • Loading branch information
weierophinney committed Nov 20, 2012
1 parent d79397b commit 09dc602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README-GIT.md
Expand Up @@ -140,7 +140,7 @@ foreach ($output as $file) {
*/
$output = array();
$return = null;
exec("php-cs-fixer --dry-run --level=psr2 fix " . escapeshellarg($fileName), $output, $return);
exec("php-cs-fixer fix --dry-run --level=psr2 " . escapeshellarg($fileName), $output, $return);
if ($return != 0 || !empty($output)) {
echo "PHP file fails contains CS issues: " . $fileName . ":" . PHP_EOL;
echo implode(PHP_EOL, $output) . PHP_EOL;
Expand Down

0 comments on commit 09dc602

Please sign in to comment.