magento-coding-standard
magento-coding-standard copied to clipboard
Simplify installation instructions
The installation instructions for this coding standard are unnecessarily complex. Composer plugins are capable of performing the necessary registration automatically, without requiring the user to manually set up (or alter) any scripts
sections in composer.json
. The main Magento repository uses dealerdirect/phpcodesniffer-composer-installer
to register the coding standard; let's use the same here.
See https://github.com/magento/magento2/blob/11846a1a10539470f2fe1522030ff42d62daa562/composer.json#L110 / https://github.com/magento/magento2/pull/36791
Fixes #390
@magento import PR to magento-commerce/magento-coding-standard repository
@sinhaparul the Pull Request is successfully imported.