Releases: magento/magento-coding-standard
Releases · magento/magento-coding-standard
Version 26
Version 25
Version 24
Version 23
Improvements
- Added match keyword to a Reserved words sniff by @karyna-tsymbal-atwix
- Require content for
@see
and@deprecated
tags in #393 by @loginesta - Corrected messages for discouraged functions by @sivaschenko
Version 22
Version 21
Version 20
Version 19
What's changed
- AC-2219: Implemented autofixing for
Magento2.Functions.FunctionsDeprecatedWithoutArgument.FunctionsDeprecatedWithoutArgument
check
Full Changelog: v18...v19
Version 18
What's Changed
- AC-1895: Avoid having duplicated issues in magento-coding-standard by @svera in #362
- AC-1895: Exclude sniff that is duplicated by @eliseacornejo in #365
- PHP 8.1 Compatibility by @sivaschenko in #366
- AC-2224: Remove incorrect and outdated rules by @loginesta in #368
- Use development php configuration for tests by @sivaschenko in #367
- Autofix for ThisInTemplate sniff by @sivaschenko in #369
- Removed obsolete layout check by @sivaschenko in #370
- AC-2222: [UCT Autofixing] PHPCompatibility.ForbiddenFinalPrivateMethods by @svera in #373
- Improve: Exclude minified JS files. by @edspc in #372
Full Changelog: v17...v18
Version 17
New rules
- AC-1060: Move relevant sniffs from phpcompatibility by @svera
- AC-391: Static test to cover "deprecated" jQuery methods by @Rrego6
- Fixed graphql unit test failing as it was extending from a wrong class by @svera
- AC-1717: Passing null to non-nullable internal function parameters is deprecated by @svera
- AC-1718 return types for arrayaccess methods by @svera
Improvements
- AC-99: Update Third Party library: jquery.tabs by @krissyhiserote
- Allow use of modern syntax in JavaScript files by @fredden
- Run tests on php 8.1 by @ihor-sviziev
- Simplify file structure for ESLint ruleset by @fredden
- Disallow Yoda Conditions in JavaScript files by @fredden
Fixes
- Fix DirectThrowSniff false positive by @rmsundar1