Skip to content

Commit ea82273

Browse files
victoria-marinaklausi
authored andcommitted
docs(README): Fix composer commands now that the phpcs installer is a direct dependency (#3260071 by victoria-marina)
1 parent 461597b commit ea82273

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,13 @@ bin path to your `$PATH` variable in `~/.profile`, `~/.bashrc` or `~/.zshrc`:
3535

3636
export PATH="$PATH:$HOME/.composer/vendor/bin"
3737

38-
Register the Drupal and DrupalPractice Standard with PHPCS:
39-
40-
phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer
41-
4238

4339
### Composer Installer Plugins
4440

4541
The Coder package (>= 8.2.11) now works with Composer Installer Plugins,
4642
that find and register standards whenever packages are installed or updated.
4743
To use such a plugin within your project, follow these steps.
4844

49-
composer require --dev dealerdirect/phpcodesniffer-composer-installer
5045
composer require --dev drupal/coder
5146

5247
Now, you will see Drupal and DrupalPractice listed in the available PHP
@@ -56,7 +51,6 @@ CodeSniffer standards.
5651

5752
The same can be done for a Composer global installation.
5853

59-
composer global require dealerdirect/phpcodesniffer-composer-installer
6054
composer global require drupal/coder
6155

6256

0 commit comments

Comments
 (0)