Added magento & Shrewberry office coding standards
Added
- Composer package youwe/coding-standard which is now included in the Youwe coding standards for Magento 2.
- Comments for why the ruleset was added.
- Coding standards for phtml templates.
- Package magento/magento-coding-standard as a requirement.
The version v25 is used as a base. If not compatible please update thephpcs.xml
in project root.
Removed
- Rule PSR2.Methods.MethodDeclaration.Underscore since this is already excluded by Magento.
- Argument colors and added it in the common Youwe coding standards.
- Old coding ruleset directories and migrated them to YouweMagento2.