magento-coding-standard
magento-coding-standard copied to clipboard
Add excludes for test files
Description
All rules that do not apply on test files need to have one more exclude.
<exclude-pattern>*/tests/*</exclude-pattern>
AC
- Rules contain additional exclude.
- Additional PR in https://github.com/magento/magento2 where all false skip annotations are removed. Example: https://github.com/magento/magento2/blob/20db8f67b96e98609ea9d8835ae3830625fa6464/dev/tests/integration/framework/Magento/TestFramework/Workaround/Cleanup/StaticProperties.php#L78
Fixed in https://github.com/magento/magento-coding-standard/pull/138
Hello @lenaorobei, I'm still working on creating additional PR in Magento 2 repo where I'll remove false skip annotation Thanks
@konarshankar07 great, it can be done right after new release and dependency update https://github.com/magento/magento2/blob/2.3-develop/composer.json#L90
@lenaorobei then I'll wait till the next release
Hello @lenaorobei , Should I start creating the PR in magento 2 repo? Thanks