Skip to content

Releases: magento/magento-coding-standard

Version 26

05 Oct 08:27
0263b89
Compare
Choose a tag to compare

What's Changed

  • Fix Rector tests by @bl4de in #410
  • Allow to skip see tag in annotation with specific deprecated comment by @loginesta in #419
  • Add eliminated classes to Magento coding standards in Legacy\RestrictedCodeSniff by @karyna-tsymbal-atwix in #420

Full Changelog: v25...v26

Version 25

21 Jun 12:58
7be8305
Compare
Choose a tag to compare

Bugfixes

  • Avoid processing less and CSS pseudo-classes by @svera
  • Allow empty constructor function blocks when using property promotion by @mfickers

Version 24

14 Jun 17:44
ab5a8ca
Compare
Choose a tag to compare

Bug fixes:

Fixed error when calling hasDeprecatedWellFormatted with a false $commentStartPtr in #400 by @mattijv

Version 23

01 Jun 14:10
dba4d2b
Compare
Choose a tag to compare

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

26 Apr 10:15
e086858
Compare
Choose a tag to compare

What's Changed

  • AC-2724: Update rector dependency to the latest version by @eliseacornejo in #384
  • Fix warnings detected by phpcs & phpunit by @fredden in #383
  • AC-1879: Magento2/Sniffs/Legacy/ObsoleteResponseSniff.php issue by @bl4de in #386

Full Changelog: v21...v22

Version 21

05 Apr 08:02
470f7a6
Compare
Choose a tag to compare

What's Changed

  • AC-1655: Fixed obsolete attributes not detected by @svera in #380

Full Changelog: v20...v21

Version 20

30 Mar 08:58
3bf635d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v19...v20

Version 19

08 Mar 14:13
73d4423
Compare
Choose a tag to compare

What's changed

  • AC-2219: Implemented autofixing for Magento2.Functions.FunctionsDeprecatedWithoutArgument.FunctionsDeprecatedWithoutArgument check

Full Changelog: v18...v19

Version 18

15 Feb 17:45
9091848
Compare
Choose a tag to compare

What's Changed

Full Changelog: v17...v18

Version 17

11 Jan 12:27
7fbdf31
Compare
Choose a tag to compare

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