Skip to content

Commit 472a058

Browse files
authored
Merge pull request #18 from PHPCompatibility/feature/readme-update-for-composer-2.2
README: update for Composer 2.2
2 parents 3c6a691 + 7a1465d commit 472a058

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ The minimum _recommended_ version of PHP_CodeSniffer is version 2.6.0.
3838

3939
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:
4040
```bash
41+
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
4142
composer require --dev dealerdirect/phpcodesniffer-composer-installer:"^0.7" phpcompatibility/phpcompatibility-all:"*"
42-
composer install
4343
```
4444

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

5150
Next, run:

0 commit comments

Comments
 (0)