Skip to content

Commit 08e3f63

Browse files
committed
Merge pull request symfony#3294 from bicpi/fix_code_blocks
Fix some bash and text code blocks
2 parents 12cd62e + 0d46fce commit 08e3f63

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

book/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ have curl installed, it's as easy as:
4444

4545
.. code-block:: bash
4646
47-
curl -s https://getcomposer.org/installer | php
47+
$ curl -s https://getcomposer.org/installer | php
4848
4949
.. note::
5050

@@ -146,7 +146,7 @@ Step 1: Get `Composer`_ (The great new PHP packaging system)
146146

147147
.. code-block:: bash
148148
149-
curl -s http://getcomposer.org/installer | php
149+
$ curl -s http://getcomposer.org/installer | php
150150
151151
Make sure you download ``composer.phar`` in the same folder where
152152
the ``composer.json`` file is located (this is your Symfony project
@@ -169,8 +169,8 @@ Symfony itself - into the ``vendor/`` directory.
169169

170170
.. code-block:: bash
171171
172-
php installer
173-
php composer.phar install
172+
$ php installer
173+
$ php composer.phar install
174174
175175
.. tip::
176176

book/page_creation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -867,15 +867,15 @@ You can dump the default configuration for a bundle in YAML to the console using
867867
the ``config:dump-reference`` command. Here is an example of dumping the default
868868
FrameworkBundle configuration:
869869

870-
.. code-block:: text
870+
.. code-block:: bash
871871
872-
app/console config:dump-reference FrameworkBundle
872+
$ app/console config:dump-reference FrameworkBundle
873873
874874
The extension alias (configuration key) can also be used:
875875

876-
.. code-block:: text
876+
.. code-block:: bash
877877
878-
app/console config:dump-reference framework
878+
$ app/console config:dump-reference framework
879879
880880
.. note::
881881

book/performance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ command line, and might become part of your deploy process:
6060

6161
.. code-block:: bash
6262
63-
php composer.phar dump-autoload --optimize
63+
$ php composer.phar dump-autoload --optimize
6464
6565
Internally, this builds the big class map array in ``vendor/composer/autoload_classmap.php``.
6666

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ this classic example:
13641364

13651365
Imagine the user enters the following code for their name:
13661366

1367-
.. code-block:: text
1367+
.. code-block:: html
13681368

13691369
<script>alert('hello!')</script>
13701370

contributing/code/tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Step 1: Get `Composer`_
3030

3131
.. code-block:: bash
3232
33-
curl -s http://getcomposer.org/installer | php
33+
$ curl -s http://getcomposer.org/installer | php
3434
3535
Make sure you download ``composer.phar`` in the same folder where
3636
the ``composer.json`` file is located.

cookbook/security/entity_provider.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ Don't forget also to update your database schema:
640640
641641
.. code-block:: bash
642642
643-
php app/console doctrine:schema:update --force
643+
$ php app/console doctrine:schema:update --force
644644
645645
This will create the ``acme_role`` table and a ``user_role`` that stores
646646
the many-to-many relationship between ``acme_user`` and ``acme_role``. If

0 commit comments

Comments
 (0)