Releases: YouweGit/coding-standard-magento2
Releases · YouweGit/coding-standard-magento2
2.2.1
2.2.0
Avoid false positive alerts for HTML files
- Also exclude HTML files from Youwe coding standard ruleset #10
Allow stable version of phpcs installer
- Allow use of stable version of
dealerdirect/phpcodesniffer-composer-installer
(#8)
Resolve incompatibility between standards (PSR-2 versus PSR-12)
- Resolve incompatibility with
PSR12.ControlStructures.ControlStructureSpacing
(from theYouwe
standard) andPSR2.ControlStructures.ControlStructureSpacing
(from theMagento2
standard). For details, see #6.
Changes for phtml code standards
- Youwe ruleset will not check .phtml files anymore and only uses the Magento2 coding standards to check files on phpcs.
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.
Update phpcs installed paths
2.0.0-RC3 Updated changelog.
Create Youwe coding standard for Magento 2
Merge pull request #2 from fredden/youwe-magento2 Use official Magento2 coding standard as base for YouweMagento2
Update dependency to use new coding standard package
1.8.0 Update dependency to resolve issue of getting latest coding-standard.