Update dependency magento/magento-coding-standard to v31

This MR contains the following updates:

Package Type Update Change
magento/magento-coding-standard require-dev major ^6 -> ^31

Dependency Lookup Warnings

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

magento/magento-coding-standard (magento/magento-coding-standard)

v31: Version 31

Compare Source

  • rector/rector upgraded to ^0.15.10 version

v30: Version 30

Compare Source

  • Minimum version of PHP is set to 7.4
  • webonyx/graphql-php is updated to version 15.0

v29: Version 29

Compare Source

Returning back support of PHP 7.3

v28: Version 28

Compare Source

  • Fix performance issue with big arrays #​429

v27: Version 27

Compare Source

  • Support of PHP 8.1 features

v26: Version 26

Compare Source

What's Changed

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v25...v26

v25: Version 25

Compare Source

Bugfixes

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

v24: Version 24

Compare Source

Bug fixes:

Fixed error when calling hasDeprecatedWellFormatted with a false $commentStartPtr in https://github.com/magento/magento-coding-standard/pull/400 by @​mattijv

v23: Version 23

Compare Source

Improvements

v22: Version 22

Compare Source

What's Changed

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v21...v22

v21: Version 21

Compare Source

What's Changed

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v20...v21

v20: Version 20

Compare Source

What's Changed

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v19...v20

v19: Version 19

Compare Source

What's changed

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

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v18...v19

v18: Version 18

Compare Source

What's Changed

Full Changelog: https://github.com/magento/magento-coding-standard/compare/v17...v18

v17: Version 17

Compare Source

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
Fixes

v16: Version 16

Compare Source

New Rules

Improvements

Fixes

v15: Version 15

Compare Source

New Rules

  • Added Sniff to check auto vivification on an array (PHP 8.1 compatibility) in #​322 by @​anzin

Improvements

v14: Version 14

Compare Source

New Rules

Improvements

  • AC-1167: Add all filesystem PHP native functions covered by Filesystem\DriverInterface to DiscouragedFunctionSniff in #​308 by @​loginesta
  • AC-206: Create UCT phpcs ruleset for customizations only in #​313 by @​svera
  • AC-1549: Create codes for each type of returned error / warning in #​316 by @​svera

Fixes

v13: Version 13

Compare Source

New rules
  • AC-679 Create phpcs static check for ObsoleteSystemConfigurationTest by @​eliseacornejo
  • AC-682 Create phpcs static check for RestrictedCodeTest by @​svera
  • AC-679 Create phpcs static check for ObsoleteSystemConfigurationTest by @​eliseacornejo
  • AC-677 Create phpcs static test for ObsoleteMenuTest by @​loginesta
  • AC-674 Create phpcs static check for ObsoleteAclTest by @​loginesta
  • AC-667 Create phpcs static check for EmailTemplateTest by @​jcuerdo
Other
  • AC-1159 Remove eslint tests from magento2 repo and reuse new version of magento-coding-standard instead by @​loginesta
  • AC-1355 Move JSCS into magento-coding-standards repo by @​loginesta

v12: Version 12

Compare Source

Fixes
  • AC-1339: Detect comment for typed class properties by @​svera
  • AC-669: Fixed directory name checking too lax by @​svera

v11: Version 11

Compare Source

New rules
  • AC-1102: Static test to verify self-closing tags for non-void html elements by @​xmav
  • AC-662: Create phpcs static check for AutogeneratedClassNotInConstructorTest by @​jcuerdo
  • AC-1156: Move custom eslint tests to magento-coding-standard repo by @​loginesta
  • AC-665: Create phpcs static check for ConfigTest by @​svera
  • AC-669: Create phpcs static check for InstallUpgradeTest by @​svera
Fixes

v10: Version 10

Compare Source

New Rules
Fixes

v9: Version 9

Compare Source

New Rules
  • Added sniff to ensure proper sniff for class properties PHPDoc formatting in #​140 by @​konarshankar07
  • Test moved from magento2: sniff looking for occurrences of obsolete active and version attributes in the module.xml file in #​230 by @​svera
  • Test moved from magento2: sniff looking for occurrences of obsolete nodes: param, instance, array, item[@​key] and value in di.xml in #​233 by @​loginesta
Improvements
Fixes
  • Fixed fatal error when docblock includes parametry type but is missing the parameter name in #​256 by @​fredden
Test coverage

v8: Version 8

Compare Source

Fixes
  • Fixed ImportsFromTestNamespace from lock on group use with trailing comma @​fsw
  • Moved abstract unit test to autoload-dev @​sivaschenko
  • Unit test coverage and fixes for HTML, annotation and less sniffs @​eliseacornejo

v7: Version 7

Compare Source

New Rules
  • Added sniff to ensure correct usage of getChildHtml and getChildChildHtml AbstractBlock methods @​eliseacornejo
  • Annotation, Html and Less sniffs has been moved from the magento/magento2 repo @​loginesta
Fixes
Infrastructure and updates

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports

Loading