Skip to content

Commit

Permalink
minor PHP-CS-Fixer#991 Longer explanation of how to use blacklist (bm…
Browse files Browse the repository at this point in the history
…itch, networkscraper)

This PR was merged into the 1.5 branch.

Discussion
----------

Longer explanation of how to use blacklist

Was originally confused on how this worked. Thought a slightly more involved explanation might help.

Commits
-------

817b139 Fixed documentation text descrepancies
df5ba5e Another longer example of using the black list
592f9e1 Longer explanation of how to use black list
  • Loading branch information
keradus committed Jan 31, 2015
2 parents 69dc9aa + 817b139 commit 8e12011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ apply (the fixer names must be separated by a comma):
php php-cs-fixer.phar fix /path/to/dir --fixers=linefeed,short_tag,indentation
You can also blacklist the fixers you don't want if this is more convenient,
using ``-name``:
You can also blacklist the fixers you don't want by placing a dash in front of the fixer name, if this is more convenient,
using ``-name_of_fixer``:

.. code-block:: bash
Expand Down
4 changes: 2 additions & 2 deletions Symfony/CS/Console/Command/FixCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ protected function configure()
<info>php %command.full_name% /path/to/dir --fixers=linefeed,short_tag,indentation</info>
You can also blacklist the fixers you don't want if this is more convenient,
using <comment>-name</comment>:
You can also blacklist the fixers you don't want by placing a dash in front of the fixer name, if this is more convenient,
using <comment>-name_of_fixer</comment>:
<info>php %command.full_name% /path/to/dir --fixers=-short_tag,-indentation</info>
Expand Down

0 comments on commit 8e12011

Please sign in to comment.