Skip to content

Commit

Permalink
Docs: add command
Browse files Browse the repository at this point in the history
Follow up on #291
  • Loading branch information
jrfnl committed Feb 17, 2022
1 parent 6e5b233 commit cd6f520
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ If your external PHP_CodeSniffer standard only supports Composer-based installs

Run the following from the root of your external PHPCS standard's project:

<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>composer require <span class="s">{{ site.phpcsutils.packagist }}</span>:"<span class="mf">^1.0</span>"
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer require <span class="s">{{ site.phpcsutils.packagist }}</span>:"<span class="mf">^1.0</span>"
</code></pre></div></div>

No further action needed. You can start using all the utility functions, abstract sniff classes and other features of PHPCSUtils straight away.
Expand Down

0 comments on commit cd6f520

Please sign in to comment.