New Rules
- Implemented GraphQL sniffs magento/architecture#269 in #141 by @jean-bernard-valentaten
- Implemented sniff for classes and interfaces PHPDoc formatting #105 in #124 by @udovicic
- Implemented sniff that verifies that system resources processing is wrapped with
try catch
construction #21 in #77 by @larsroettig - Implemented sniff that checks that
@deprecated
tag is explained #131 in #134 by @udovicic
Improvements
- Added check for the use of
helpers
inMagento2.Templates.ThisInTemplate
sniff and updated documentation with recommendation #121 in #122 @diazwatson - Added alternatives for discouraged functions #102 in #123 by @diazwatson
- No longer require a space before a colon for control structures using the alternative syntax #118 in #132 by @hostep
- Add excludes for test files
<exclude-pattern>*/tests/*</exclude-pattern>
#136 in #138 by @konarshankar07 - Improved documentation with
How to use phpcbf
in #150 by @lfluvisotto
Fixes
- Fixed issue with false-positive
Empty FUNCTION statement detected for around plugins
#95 in #126 by @konarshankar07 - Fixed issue in line length sniff for
phrase
and__
keyword by removing redundant rule and using generic one #75 in #127 by @konarshankar07