magento / marketplace-eqp

Magento 1.x Coding Standard
http://docs.magento.com/marketplace/user_guide/Resources/pdf/Extension_Quality_Program_Overview.pdf
MIT License
224 stars 68 forks source link

Set extensions list to be checked by default. #80

Closed timur-omer closed 6 years ago

timur-omer commented 6 years ago

By default, PHPCS scans only files with php, inc, js and css extensions (hardcoded in config). Magento EQP coding standard needs to scan php and phtml files.

For now, it leads to problems (ignore of phtml files) when there is no possibility to add additional arguments during the scan (for example, in PHP Storm Inspections).

So, it will be good to set php and phtml extensions by default for our standard.