Skip to content

Commit

Permalink
Merge branch 'hotfix/pre-commit' of git://github.com/ezimuel/zf2 into…
Browse files Browse the repository at this point in the history
… hotfix/3029
  • Loading branch information
weierophinney committed Nov 20, 2012
2 parents 2a3f361 + 87ed1aa commit d79397b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README-GIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ foreach ($output as $file) {
*/
$output = array();
$return = null;
exec("php-cs-fixer --dry-run --level=psr2 " . escapeshellarg($fileName), $output, $return);
exec("php-cs-fixer --dry-run --level=psr2 fix " . 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 d79397b

Please sign in to comment.