Closed
Description
At the moment, phpcs returns with an exit code of 0
when no errors or warnings are found, and a 1
if there are any errors or warnings. The exit code is the same regardless of whether the errors are fixable or not.
It would be nice if phpcs would return an exit code of 2
when one or more of the encountered errors or warnings were fixable by phpcbf.