Skip to content

Fix some bash and text code blocks #3294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 19, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions book/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ have curl installed, it's as easy as:

.. code-block:: bash

curl -s https://getcomposer.org/installer | php
$ curl -s https://getcomposer.org/installer | php

.. note::

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

.. code-block:: bash

curl -s http://getcomposer.org/installer | php
$ curl -s http://getcomposer.org/installer | php

Make sure you download ``composer.phar`` in the same folder where
the ``composer.json`` file is located (this is your Symfony project
Expand All @@ -169,8 +169,8 @@ Symfony itself - into the ``vendor/`` directory.

.. code-block:: bash

php installer
php composer.phar install
$ php installer
$ php composer.phar install

.. tip::

Expand Down
8 changes: 4 additions & 4 deletions book/page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -867,15 +867,15 @@ You can dump the default configuration for a bundle in YAML to the console using
the ``config:dump-reference`` command. Here is an example of dumping the default
FrameworkBundle configuration:

.. code-block:: text
.. code-block:: bash

app/console config:dump-reference FrameworkBundle
$ app/console config:dump-reference FrameworkBundle

The extension alias (configuration key) can also be used:

.. code-block:: text
.. code-block:: bash

app/console config:dump-reference framework
$ app/console config:dump-reference framework

.. note::

Expand Down
2 changes: 1 addition & 1 deletion book/performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ command line, and might become part of your deploy process:

.. code-block:: bash

php composer.phar dump-autoload --optimize
$ php composer.phar dump-autoload --optimize

Internally, this builds the big class map array in ``vendor/composer/autoload_classmap.php``.

Expand Down
2 changes: 1 addition & 1 deletion book/templating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ this classic example:

Imagine the user enters the following code for their name:

.. code-block:: text
.. code-block:: html

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

Expand Down
2 changes: 1 addition & 1 deletion contributing/code/tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Step 1: Get `Composer`_

.. code-block:: bash

curl -s http://getcomposer.org/installer | php
$ curl -s http://getcomposer.org/installer | php

Make sure you download ``composer.phar`` in the same folder where
the ``composer.json`` file is located.
Expand Down
2 changes: 1 addition & 1 deletion cookbook/security/entity_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ Don't forget also to update your database schema:

.. code-block:: bash

php app/console doctrine:schema:update --force
$ php app/console doctrine:schema:update --force

This will create the ``acme_role`` table and a ``user_role`` that stores
the many-to-many relationship between ``acme_user`` and ``acme_role``. If
Expand Down