Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 36 million developers.Sign up
Starting from the current release new versioning strategy will be used. One release line will be supported based on incremental approach despite introduced changes and single number sequence-based version identifier will be incremented every release.
Please refer to the wiki page and magento/architecture#136 thread for more details.
- Increased the severity level to 10 for
LiteralNamespacesSniffby removing class exists checks and adding exclude patterns #9 in #89 by @ldusan84
htmlspecialcharsis added to the list of discouraged functions in #96 by @davemacaulay
Squiz.Commenting.ClassCommentfrom the ruleset since it does not cover all Magento cases #106
- Added excludes for
Magento2.Classes.DiscouragedDependenciesdetects explicit request of proxies and interceptors in constructors. #18 -> #59 by @maderlock
array_merge(...)usage in a loop. #20 -> #72 by @larsroettig
*/Fixtures/*exclude for rules that do not apply to test files.
- Documentation with code examples for Magento2.Performance.ForeachArrayMerge.
- added test files excludes for specific rules:
PSR1.Files.SideEffects-> fixed #80.
EmptyCheckSniffsince there is no performance impact;
- added more excludes for
Squiz.Commenting.FunctionCommentThrowTagbecause it doesn't work with
Magento Coding Standard covers:
• PSR2 compliance
• the use of insecure functions
• unescaped output
• the use of deprecated PHP functions
• PHP code syntax
• naming convention
• the use of PHP superglobals
• empty code blocks
• improper exception handling
• raw SQL queries
and many other general PHP and Magento 2 specific code issues.