Skip to content

Commit 5a36606

Browse files
committed
Fix references to deprecated ignore syntaxes
1 parent 469edca commit 5a36606

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wiki/Fixing-Errors-Automatically.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Usage: phpcbf [-nwli] [-d key[=value]] [--ignore-annotations] [--stdin-path=<std
6969
7070
--help Print this help message
7171
--version Print version information
72-
--ignore-annotations Ignore all @codingStandard annotations in code comments
72+
--ignore-annotations Ignore all phpcs: annotations in code comments
7373
7474
<basepath> A path to strip from the front of file paths inside reports
7575
<file> One or more files and/or directories to fix

wiki/Usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ With progress output enabled, PHP_CodeSniffer will print a single-character stat
178178
* `.` : The file contained no errors or warnings
179179
* `E` : The file contained 1 or more errors
180180
* `W` : The file contained 1 or more warnings, but no errors
181-
* `S` : The file contained a [@codingStandardsIgnoreFile](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders) comment and was skipped
181+
* `S` : The file contained a [// phpcs:ignoreFile](https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders) comment and was skipped
182182

183183
Progress output will look like this:
184184

0 commit comments

Comments
 (0)