File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ The syntax of YAML contents can be validated through the CLI using the
301
301
302
302
First, install the Console component:
303
303
304
- .. code-block :: bash
304
+ .. code-block :: terminal
305
305
306
306
$ composer require symfony/console
307
307
@@ -322,7 +322,7 @@ Create a console application with ``lint:yaml`` as its only command::
322
322
323
323
Then, execute the script for validating contents:
324
324
325
- .. code-block :: bash
325
+ .. code-block :: terminal
326
326
327
327
# validates a single file
328
328
$ php lint.php path/to/file.yml
@@ -336,7 +336,7 @@ Then, execute the script for validating contents:
336
336
The result is written to STDOUT and uses a plain text format by default.
337
337
Add the ``--format `` option to get the output in JSON format:
338
338
339
- .. code-block :: bash
339
+ .. code-block :: terminal
340
340
341
341
$ php lint.php path/to/file.yml --format json
342
342
You can’t perform that action at this time.
0 commit comments