Skip to content
Merged
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 index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Installation
The recommended way to install PHP CS Fixer is to use
`Composer <https://getcomposer.org/download/>`__:

.. code:: sh
.. code:: console

$ composer require --dev friendsofphp/php-cs-fixer
$ ## or when facing conflicts in dependencies:
Expand All @@ -44,13 +44,13 @@ Usage
Assuming you installed PHP CS Fixer as instructed above, you can
initialise base config for your project by using following command:

.. code:: sh
.. code:: console

$ ./vendor/bin/php-cs-fixer init

To automatically fix your project, or only check against the need of changes, run:

.. code:: sh
.. code:: console

$ ./vendor/bin/php-cs-fixer fix
$ ./vendor/bin/php-cs-fixer check
Expand Down