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:
433433 # or contents passed to STDIN
434434 $ cat path/to/file.yaml | php lint.php
435435
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
437438
438- .. code-block :: terminal
439+ .. versionadded :: 5.4
439440
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.
441442
442443The result is written to STDOUT and uses a plain text format by default.
443444Add the ``--format `` option to get the output in JSON format:
You can’t perform that action at this time.
0 commit comments