Skip to content

[Docs] use php bin/console instead of bin/console #10828

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
Jan 3, 2019
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
6 changes: 3 additions & 3 deletions bundles/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ via the ``config:dump-reference`` command:

.. code-block:: terminal

$ bin/console config:dump-reference AsseticBundle
$ php bin/console config:dump-reference AsseticBundle

Instead of the full bundle name, you can also pass the short name used as the root
of the bundle's configuration:

.. code-block:: terminal

$ bin/console config:dump-reference assetic
$ php bin/console config:dump-reference assetic

The output will look like this:

Expand All @@ -140,7 +140,7 @@ The output will look like this:

.. code-block:: terminal

$ bin/console config:dump-reference AsseticBundle use_controller
$ php bin/console config:dump-reference AsseticBundle use_controller

# Default configuration for "AsseticBundle" at path "use_controller"
use_controller:
Expand Down
4 changes: 2 additions & 2 deletions translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -337,10 +337,10 @@ with these tasks:
.. code-block:: terminal

# updates the French translation file with the missing strings found in app/Resources/ templates
$ ./bin/console translation:update --dump-messages --force fr
$ php bin/console translation:update --dump-messages --force fr

# updates the English translation file with the missing strings found in AppBundle
$ ./bin/console translation:update --dump-messages --force en AppBundle
$ php bin/console translation:update --dump-messages --force en AppBundle

.. note::

Expand Down
16 changes: 8 additions & 8 deletions translation/lint.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ translation file using the ``lint:yaml`` and ``lint:xliff`` commands:
.. code-block:: terminal

# lint a single file
$ ./bin/console lint:yaml app/Resources/translations/messages.en.yml
$ ./bin/console lint:xliff app/Resources/translations/messages.en.xlf
$ php bin/console lint:yaml app/Resources/translations/messages.en.yml
$ php bin/console lint:xliff app/Resources/translations/messages.en.xlf

# lint a whole directory
$ ./bin/console lint:yaml app/Resources/translations
$ ./bin/console lint:xliff app/Resources/translations
$ php bin/console lint:yaml app/Resources/translations
$ php bin/console lint:xliff app/Resources/translations

# lint a specific bundle
$ ./bin/console lint:yaml @AppBundle
$ ./bin/console lint:xliff @AppBundle
$ php bin/console lint:yaml @AppBundle
$ php bin/console lint:xliff @AppBundle

.. versionadded:: 3.3

Expand All @@ -35,5 +35,5 @@ The linter results can be exported to JSON using the ``--format`` option:
.. code-block:: terminal

# lint a single file
$ ./bin/console lint:yaml app/Resources/translations --format=json
$ ./bin/console lint:xliff app/Resources/translations --format=json
$ php bin/console lint:yaml app/Resources/translations --format=json
$ php bin/console lint:xliff app/Resources/translations --format=json