Skip to content

Commit 7120d33

Browse files
committed
Update readme
1 parent fc07fa5 commit 7120d33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ Arguments:
7171
files Which files you want to analyze (separate multiple names with a space)?
7272
7373
Options:
74-
-t, --target[=TARGET] Sets target PHP interpreter version. [default: "7.4"]
74+
-t, --target[=TARGET] Sets target PHP interpreter version. [default: "8.0"]
7575
-a, --after[=AFTER] Sets initial PHP interpreter version for checks. [default: "5.3"]
7676
-e, --exclude[=EXCLUDE] Sets excluded file or directory names for scanning. If need to pass few names, join it with comma.
7777
-s, --max-size[=MAX-SIZE] Sets max size of php file. If file is larger, it will be skipped. [default: "1mb"]
7878
--file-extensions[=FILE-EXTENSIONS] Sets file extensions to be parsed. [default: "php, php5, phtml"]
7979
--skip-checks[=SKIP-CHECKS] Skip all checks containing any of the given values. Pass a comma-separated list for multiple values.
8080
--output-json[=OUTPUT-JSON] Path to store json-file with analyze results. If '-' passed, json will be printed on stdout.
81-
-h, --help Display this help message
81+
-h, --help Display help for the given command. When no command is given display help for the scan command
8282
-q, --quiet Do not output any message
8383
-V, --version Display this application version
8484
--ansi Force ANSI output
@@ -87,7 +87,7 @@ Options:
8787
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
8888
```
8989

90-
- By providing additional option `--target` you can specify version of PHP to perform less checks. Available target versions: 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4. A larger version includes rules for checking from all previous.
90+
- By providing additional option `--target` you can specify version of PHP to perform less checks. Available target versions: 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0. A larger version includes rules for checking from all previous.
9191
- By providing `--exclude` option you can exclude specific folders or files from analyze. For example, `--exclude vendor` will prevent checking third-party libraries.
9292
- By providing `--skip-checks` option you can exclude specific checks from analyze.
9393
- If your files has unusual extension, you can specify all exts by `--file-extensions` option. By default, it uses `php`, `phtml` and `php5`.

0 commit comments

Comments
 (0)