@@ -23,7 +23,7 @@ Usage: phpcs [-nwlsaepqvi] [-d key[=value]] [--colors] [--no-colors]
23
23
[--standard=<standard>] [--sniffs=<sniffs>] [--exclude=<sniffs>]
24
24
[--encoding=<encoding>] [--parallel=<processes>] [--generator=<generator>]
25
25
[--extensions=<extensions>] [--ignore=<patterns>] [--ignore-annotations]
26
- [--stdin-path=<stdinPath>] [--file-list=<fileList>] <file> - ...
26
+ [--stdin-path=<stdinPath>] [--file-list=<fileList>] [--filter=<filter>] <file> - ...
27
27
28
28
- Check STDIN instead of local files and directories
29
29
-n Do not print warnings (shortcut for --warning-severity=0)
@@ -53,21 +53,21 @@ Usage: phpcs [-nwlsaepqvi] [-d key[=value]] [--colors] [--no-colors]
53
53
<cacheFile> Use a specific file for caching (uses a temporary file by default)
54
54
<basepath> A path to strip from the front of file paths inside reports
55
55
<bootstrap> A comma separated list of files to run before processing begins
56
- <file> One or more files and/or directories to check
57
- <fileList> A file containing a list of files and/or directories to check
58
- (one per line)
59
56
<encoding> The encoding of the files being checked (default is utf-8)
60
57
<extensions> A comma separated list of file extensions to check
61
- (extension filtering only valid when checking a directory)
62
58
The type of the file can be specified using: ext/type
63
59
e.g., module/php,es/js
60
+ <file> One or more files and/or directories to check
61
+ <fileList> A file containing a list of files and/or directories to check (one per line)
62
+ <filter> Use the "gitmodified" filter, or specify the path to a custom filter class
64
63
<generator> Uses either the "HTML", "Markdown" or "Text" generator
65
64
(forces documentation generation instead of checking)
66
65
<patterns> A comma separated list of patterns to ignore files and directories
67
66
<processes> How many files should be checked simultaneously (default is 1)
68
67
<report> Print either the "full", "xml", "checkstyle", "csv"
69
68
"json", "junit", "emacs", "source", "summary", "diff"
70
- "svnblame", "gitblame", "hgblame" or "notifysend" report
69
+ "svnblame", "gitblame", "hgblame" or "notifysend" report,
70
+ or specify the path to a custom report class
71
71
(the "full" report is printed by default)
72
72
<reportFile> Write the report to the specified file path
73
73
<reportWidth> How many columns wide screen reports should be printed
0 commit comments