@@ -23,7 +23,7 @@ Usage: phpcs [-nwlsaepqvi] [-d key[=value]] [--colors] [--no-colors]
2323 [--standard=<standard>] [--sniffs=<sniffs>] [--exclude=<sniffs>]
2424 [--encoding=<encoding>] [--parallel=<processes>] [--generator=<generator>]
2525 [--extensions=<extensions>] [--ignore=<patterns>] [--ignore-annotations]
26- [--stdin-path=<stdinPath>] [--file-list=<fileList>] <file> - ...
26+ [--stdin-path=<stdinPath>] [--file-list=<fileList>] [--filter=<filter>] <file> - ...
2727
2828 - Check STDIN instead of local files and directories
2929 -n Do not print warnings (shortcut for --warning-severity=0)
@@ -53,21 +53,21 @@ Usage: phpcs [-nwlsaepqvi] [-d key[=value]] [--colors] [--no-colors]
5353 <cacheFile> Use a specific file for caching (uses a temporary file by default)
5454 <basepath> A path to strip from the front of file paths inside reports
5555 <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)
5956 <encoding> The encoding of the files being checked (default is utf-8)
6057 <extensions> A comma separated list of file extensions to check
61- (extension filtering only valid when checking a directory)
6258 The type of the file can be specified using: ext/type
6359 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
6463 <generator> Uses either the "HTML", "Markdown" or "Text" generator
6564 (forces documentation generation instead of checking)
6665 <patterns> A comma separated list of patterns to ignore files and directories
6766 <processes> How many files should be checked simultaneously (default is 1)
6867 <report> Print either the "full", "xml", "checkstyle", "csv"
6968 "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
7171 (the "full" report is printed by default)
7272 <reportFile> Write the report to the specified file path
7373 <reportWidth> How many columns wide screen reports should be printed
0 commit comments