github magento/magento-coding-standard v6
Version 6

latest releases: v38, v37, 36...
4 years ago

New Rules

  • Added sniff to prohibit imports from Magento\Tests namespace outside of tests in #149 by @konarshankar07
  • Added sniff to discourage the use of Resource class from Model class (i.e. getResource()->load($object)) in #189 by @milindsingh

Improvements

  • squizlabs/php_codesniffer dependency version updated from ^3.4 to ^3.5 for PHP 7.4 compatibility
  • Discouraged functions list was updated to include all the aliases of the existing discouraged functions in #179 by @andrewbess
  • Modified deprecated validator to allow missing the comment if see tag is set in #181 by @sinisa86

Fixes

  • Fixed issue when PHP files which contain phtml in the name were detected as templates in #180 by @sinisa86

Don't miss a new magento-coding-standard release

NewReleases is sending notifications on new releases.