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.
By default, PHPCS scans only files with
php
,inc
,js
andcss
extensions (hardcoded in config). Magento EQP coding standard needs to scanphp
andphtml
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
andphtml
extensions by default for our standard.