Skip to content

Commit

Permalink
Merge pull request #18 from PHPCompatibility/feature/readme-update-fo…
Browse files Browse the repository at this point in the history
…r-composer-2.2

README: update for Composer 2.2
  • Loading branch information
wimg authored Dec 30, 2021
2 parents 3c6a691 + 7a1465d commit 472a058
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ The minimum _recommended_ version of PHP_CodeSniffer is version 2.6.0.

If you don't have a Composer plugin installed to manage the `installed_paths` setting for PHP_CodeSniffer, run the following from the command-line:
```bash
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer require --dev dealerdirect/phpcodesniffer-composer-installer:"^0.7" phpcompatibility/phpcompatibility-all:"*"
composer install
```

If you already have a Composer PHP_CodeSniffer plugin installed, run:
```bash
composer require --dev phpcompatibility/phpcompatibility-all:"*"
composer install
```

Next, run:
Expand Down

0 comments on commit 472a058

Please sign in to comment.