You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added the cumulative exit codes as documented in the interim proposal (PHPCSStandards/PHP_CodeSniffer#184 (comment)).
This ensures a complete exit code documentation where users and devs can easily read exactly what the cumulative exit codes are.
- Also added another description to the `0` exit code to describe when issues are fixed with no issues remaining, because "clean code base" could just be interpreted as no issues at all.
|`3`| issues found, mix of auto-fixable and non-auto-fixable (`1` + `2`) (phpcs only) |
534
+
|`5`| issues found, auto-fixable, but some failed to fix (`1` + `4`) (phpcbf only) |
535
+
|`7`| issues found, mix of auto-fixable and non-auto-fixable, but some failed to fix (`1` + `2` + `4`) (phpcbf only) |
536
+
529
537
The exit codes can be influenced by the following configuration flags: [`ignore_errors_on_exit`](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options#ignoring-errors-when-generating-the-exit-code), [`ignore_warnings_on_exit`](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options#ignoring-warnings-when-generating-the-exit-code) and [`ignore_non_auto_fixable_on_exit`](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Configuration-Options#ignoring-non-auto-fixable-issues-when-generating-the-exit-code).
0 commit comments