```
[root@localhost workspace]# phpcbf --help
Usage: phpcbf [-nwli] [-d key[=value]] [--stdin-path=<stdinPath>]
[--standard=<standard>] [--sniffs=<sniffs>] [--exclude=<sniffs>] [--suffix=<suffix>]
[--severity=<severity>] [--error-severity=<severity>] [--warning-severity=<severity>]
[--tab-width=<tabWidth>] [--encoding=<encoding>]
[--extensions=<extensions>] [--ignore=<patterns>] [--bootstrap=<bootstrap>] <file> ...
-n Do not fix warnings (shortcut for --warning-severity=0) 不修改警告
-w Fix both warnings and errors (on by default) 修改警告和错误
-l Local directory only, no recursion 对文件夹不递归操作
-i Show a list of installed coding standards 查看已安装的代码基准
-d Set the [key] php.ini value to [value] or [true] if value is omitted 设置php.ini的参数默认为true
--help Print this help message
--version Print version information
--no-patch Do not make use of the "diff" or "patch" programs
<file> One or more files and/or directories to fix
<stdinPath> If processing STDIN, the file path that STDIN will be processed as
<bootstrap> A comma separated list of files to run before processing starts
<encoding> The encoding of the files being fixed (default is iso-8859-1) 代码编码格式
<extensions> A comma separated list of file extensions to fix 文件后缀
(extension filtering only valid when checking a directory)
The type of the file can be specified using: ext/type
e.g., module/php,es/js
<patterns> A comma separated list of patterns to ignore files and directories 忽略的文件或文件夹
<sniffs> A comma separated list of sniff codes to include or exclude during fixing
(all sniffs must be part of the specified standard)
<severity> The minimum severity required to fix an error or warning
<standard> The name or path of the coding standard to use 代码基准使用
<suffix> Write modified files to a filename using this suffix
("diff" and "patch" are not used in this mode)
<tabWidth> The number of spaces each tab represents
```