Skip to content

Commit

Permalink
Merge pull request #14 from shoptimax/master
Browse files Browse the repository at this point in the history
Exit with correct return code we get back from phpcs, otherwise there…
  • Loading branch information
MantasVaitkunas authored Aug 17, 2016
2 parents a98f5c2 + 57e22a5 commit 259e64c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/phpcsoxid
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ if (!$sourceFromParams) {
}
}

passthru($command);
passthru($command, $ret);
exit($ret);

0 comments on commit 259e64c

Please sign in to comment.