Skip to content

Commit a903e83

Browse files
authored
Merge pull request #20 from PHPCSStandards/feature/readme-update-composer-2.2
README: update for Composer 2.2
2 parents ca619c4 + 72c736b commit a903e83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ Installation
3232

3333
Run the following from the root of your project:
3434
```bash
35+
composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
3536
composer require --dev phpcsstandards/phpcsdevcs:"^1.0"
3637
```
3738

3839
### Composer Global Installation
3940

4041
If you work on several different sniff repos, you may want to install this toolset globally:
4142
```bash
43+
composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
4244
composer global require --dev phpcsstandards/phpcsdevcs:"^1.0"
4345
```
4446

0 commit comments

Comments
 (0)