Skip to content

Commit 0a2036f

Browse files
committed
fix: cumulative exit codes table formatting
1 parent 2c1b135 commit 0a2036f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

wiki/Advanced-Usage.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,12 @@ Example: when running `phpcs`, if both auto-fixable as well as non-auto-fixable
528528

529529
Cumulative exit codes:
530530

531-
| Exit code | Meaning |
532-
| --------- | ------------------------------------------------------------------------------------------------------- |
533-
| `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) |
531+
| Exit code | Meaning |
532+
|-----------|----------------------------------------------------------------------------------------------------------------|
533+
| `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+
536537

537538
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).
538539

0 commit comments

Comments
 (0)