Browse Source

Merge branch '2.2' into 2.7

Dariusz Ruminski 7 years ago
parent
commit
d1c6dea1d3
2 changed files with 6 additions and 0 deletions
  1. 3 0
      README.rst
  2. 3 0
      src/Console/Command/HelpCommand.php

+ 3 - 0
README.rst

@@ -1321,6 +1321,9 @@ fixed but without actually modifying them:
 
     $ php php-cs-fixer.phar fix /path/to/code --dry-run
 
+Config file
+-----------
+
 Instead of using command line options to customize the rule, you can save the
 project configuration in a ``.php_cs.dist`` file in the root directory of your project.
 The file must return an instance of `PhpCsFixer\\ConfigInterface <https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.7.4/src/ConfigInterface.php>`_

+ 3 - 0
src/Console/Command/HelpCommand.php

@@ -122,6 +122,9 @@ fixed but without actually modifying them:
 
     <info>$ php %command.full_name% /path/to/code --dry-run</info>
 
+Config file
+-----------
+
 Instead of using command line options to customize the rule, you can save the
 project configuration in a <comment>.php_cs.dist</comment> file in the root directory of your project.
 The file must return an instance of `PhpCsFixer\ConfigInterface` (<url>%%%CONFIG_INTERFACE_URL%%%</url>)