File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -433,11 +433,12 @@ Then, execute the script for validating contents:
433
433
# or contents passed to STDIN
434
434
$ cat path/to/file.yaml | php lint.php
435
435
436
- Use the `--exclude ` option to exclude one or more specific files from multiple file list:
436
+ # you can also exclude one or more files from linting
437
+ $ php lint.php path/to/directory --exclude=path/to/directory/foo.yaml --exclude=path/to/directory/bar.yaml
437
438
438
- .. code-block :: terminal
439
+ .. versionadded :: 5.4
439
440
440
- $ php lint.php path/to/directory --exclude=path/to/directory/foo.yaml --exclude=path/to/directory/bar.yaml
441
+ The `` --exclude `` option was introduced in Symfony 5.4.
441
442
442
443
The result is written to STDOUT and uses a plain text format by default.
443
444
Add the ``--format `` option to get the output in JSON format:
You can’t perform that action at this time.
0 commit comments