|
@@ -28,8 +28,8 @@ in a dedicated `composer.json` file in your project, for example in the
|
|
|
`tools/php-cs-fixer` directory:
|
|
|
|
|
|
```console
|
|
|
-$ mkdir --parents tools/php-cs-fixer
|
|
|
-$ composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
|
|
|
+mkdir --parents tools/php-cs-fixer
|
|
|
+composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
|
|
|
```
|
|
|
|
|
|
For more details and other installation methods, see
|
|
@@ -41,7 +41,7 @@ Assuming you installed PHP CS Fixer as instructed above, you can run the
|
|
|
following command to fix the files PHP files in the `src` directory:
|
|
|
|
|
|
```console
|
|
|
-$ tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
|
|
|
+tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
|
|
|
```
|
|
|
|
|
|
See [usage](./doc/usage.rst), list of [built-in rules](./doc/rules/index.rst), list of [rule sets](./doc/ruleSets/index.rst)
|