Skip to content

Commit

Permalink
Merge pull request #36 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 80cb451 + 52174dd commit ab5a0e6
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 @@ -33,14 +33,13 @@ The only supported installation method is via [Composer](https://getcomposer.org

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-wp:"*"
composer install
```

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

Next, run:
Expand Down

0 comments on commit ab5a0e6

Please sign in to comment.