Skip to content

Version 6

Compare
Choose a tag to compare
@sivaschenko sivaschenko released this 03 Dec 14:53
· 676 commits to master since this release
efc9084

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