File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ via the ``config:dump-reference`` command:
107107
108108.. code-block :: terminal
109109
110- $ bin/console config:dump-reference AsseticBundle
110+ $ php bin/console config:dump-reference AsseticBundle
111111
112112 Instead of the full bundle name, you can also pass the short name used as the root
113113of the bundle's configuration:
114114
115115.. code-block :: terminal
116116
117- $ bin/console config:dump-reference assetic
117+ $ php bin/console config:dump-reference assetic
118118
119119 The output will look like this:
120120
@@ -140,7 +140,7 @@ The output will look like this:
140140
141141 .. code-block :: terminal
142142
143- $ bin/console config:dump-reference AsseticBundle use_controller
143+ $ php bin/console config:dump-reference AsseticBundle use_controller
144144
145145 # Default configuration for "AsseticBundle" at path "use_controller"
146146 use_controller:
Original file line number Diff line number Diff line change @@ -337,10 +337,10 @@ with these tasks:
337337.. code-block :: terminal
338338
339339 # updates the French translation file with the missing strings found in app/Resources/ templates
340- $ ./ bin/console translation:update --dump-messages --force fr
340+ $ php bin/console translation:update --dump-messages --force fr
341341
342342 # updates the English translation file with the missing strings found in AppBundle
343- $ ./ bin/console translation:update --dump-messages --force en AppBundle
343+ $ php bin/console translation:update --dump-messages --force en AppBundle
344344
345345 .. note ::
346346
Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
1515.. code-block :: terminal
1616
1717 # lint a single file
18- $ ./ bin/console lint:yaml app/Resources/translations/messages.en.yml
19- $ ./ bin/console lint:xliff app/Resources/translations/messages.en.xlf
18+ $ php bin/console lint:yaml app/Resources/translations/messages.en.yml
19+ $ php bin/console lint:xliff app/Resources/translations/messages.en.xlf
2020
2121 # lint a whole directory
22- $ ./ bin/console lint:yaml app/Resources/translations
23- $ ./ bin/console lint:xliff app/Resources/translations
22+ $ php bin/console lint:yaml app/Resources/translations
23+ $ php bin/console lint:xliff app/Resources/translations
2424
2525 # lint a specific bundle
26- $ ./ bin/console lint:yaml @AppBundle
27- $ ./ bin/console lint:xliff @AppBundle
26+ $ php bin/console lint:yaml @AppBundle
27+ $ php bin/console lint:xliff @AppBundle
2828
2929 .. versionadded :: 3.3
3030
@@ -35,5 +35,5 @@ The linter results can be exported to JSON using the ``--format`` option:
3535.. code-block :: terminal
3636
3737 # lint a single file
38- $ ./ bin/console lint:yaml app/Resources/translations --format=json
39- $ ./ bin/console lint:xliff app/Resources/translations --format=json
38+ $ php bin/console lint:yaml app/Resources/translations --format=json
39+ $ php bin/console lint:xliff app/Resources/translations --format=json
You can’t perform that action at this time.
0 commit comments