diff --git a/README.md b/README.md index aa8be58..743954d 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,10 @@ VariableAnalysis requires PHP 5.4 or higher and [PHP CodeSniffer](https://github This is the easiest method. -First, install [phpcodesniffer-composer-installer](https://github.com/DealerDirect/phpcodesniffer-composer-installer) for your project if you have not already. This will also install PHPCS. +First, install [phpcodesniffer-composer-installer](https://github.com/PHPCSStandards/composer-installer) for your project if you have not already. This will also install PHPCS. ``` +composer config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true composer require --dev dealerdirect/phpcodesniffer-composer-installer ``` diff --git a/composer.json b/composer.json index 2458e62..814f828 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,10 @@ "source": "https://github.com/sirbrillig/phpcs-variable-analysis" }, "config": { - "sort-order": true + "sort-order": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "autoload": { "psr-4": {