magento-coding-standard icon indicating copy to clipboard operation
magento-coding-standard copied to clipboard

Simplify installation instructions

Open fredden opened this issue 2 years ago • 2 comments

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

fredden avatar Feb 01 '23 16:02 fredden

@magento import PR to magento-commerce/magento-coding-standard repository

sinhaparul avatar Jun 05 '23 19:06 sinhaparul

@sinhaparul the Pull Request is successfully imported.

m2-github-services avatar Jun 05 '23 19:06 m2-github-services