4

I am working on a module for magento 2.x, I need to validate the code of this for which install the following module Magento Extension Quality Program Coding Standard but trying to use it generates this error some idea.

ERROR: the "MEQP2" coding standard is not installed.

2

1 Answer 1

4

Try this

composer require --dev magento/magento-coding-standard

vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/

source https://github.com/magento/magento-coding-standard

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.