8000 Use `terminal` instead of `bash` for console code · symfony/symfony-docs@44b4ad0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 44b4ad0

Browse files
javiereguiluzxabbuh
authored andcommitted
Use terminal instead of bash for console code
1 parent 78075c1 commit 44b4ad0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/yaml.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ The syntax of YAML contents can be validated through the CLI using the
301301

302302
First, 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.
337337
Add 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

0 commit comments

Comments
 (0)
0