File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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
301301
302302First, install the Console component:
303303
304- .. code-block :: bash
304+ .. code-block :: terminal
305305
306306 $ composer require symfony/console
307307
@@ -322,7 +322,7 @@ Create a console application with ``lint:yaml`` as its only command::
322322
323323 Then, execute the script for validating contents:
324324
325- .. code-block :: bash
325+ .. code-block :: terminal
326326
327327 # validates a single file
328328 $ php lint.php path/to/file.yml
@@ -336,7 +336,7 @@ Then, execute the script for validating contents:
336336 The result is written to STDOUT and uses a plain text format by default.
337337Add the ``--format `` option to get the output in JSON format:
338338
339- .. code-block :: bash
339+ .. code-block :: terminal
340340
341341 $ php lint.php path/to/file.yml --format json
342342
You can’t perform that action at this time.
0 commit comments