Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d46fce

Browse files
committed
Fix some bash and text code blocks
1 parent4b97990 commit0d46fce

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
@@ -35,7 +35,7 @@ Step 1: Get `Composer`_
3535

3636
..code-block::bash
3737
38-
curl -s http://getcomposer.org/installer| php
38+
$curl -s http://getcomposer.org/installer| php
3939
4040
Make sure you download ``composer.phar`` in the same folder where
4141
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)

[8]ページ先頭

©2009-2025 Movatter.jp