phpro / grumphp

A PHP code-quality tool
MIT License
4.14k stars 430 forks source link

how to configure meqp2 tool #505

Closed sivajik34 closed 6 years ago

sivajik34 commented 6 years ago
Q A
Version 0.14.0
Bug? no
New feature? yes
Question? yes
Documentation? yes/no
Related tickets comma-separated list of related tickets

how to configure following tool https://github.com/magento/marketplace-eqp

sivajik34 commented 6 years ago

I found following the documentation. but show_warnings not working. Magento If you want to use Phpcs for your Magento projects, you can require the magento-ecg repo.

composer require --dev magento-ecg/coding-standard Following this, you can add the path to your phpcs task.

grumphp.yml

parameters: tasks: phpcs: standard: "vendor/magento-ecg/coding-standard/Ecg/" show_warnings: false

jyggen commented 6 years ago

show_warnings was removed in GrumPHP 0.14.0, use warning_severity instead.

sivajik34 commented 6 years ago

thank you.