github magento/magento-coding-standard v9
Version 9

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

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

  • Added eval and proc* functions to the InsecureFunctionSniff class by @orsinijose
  • Updated html, less and annotation rules severity in #255 by @eliseacornejo
  • Improved less verification by catching newlines in the middle of a style definition in #258 by @svera
  • Ignore PHPUnit results cache file in #254 by @fredden

Fixes

  • Fixed fatal error when docblock includes parametry type but is missing the parameter name in #256 by @fredden

Test coverage

  • Created unit test for Magento2\Less\SemicolonSpacingSniff in #253 by @loginesta
  • Createe unit test for Magento2\Less\ColourDefinitionSniff check in #238 by @svera
  • Created unit test for Magento2\Less\QuotesSniff check in #248 by @svera
  • Created unit test for CombinatorIndentationSniff in #249 by @svera
  • Created unit test for Magento2\Less\TypeSelectorsSniff in #250 by @svera
  • Created unit test for Magento2\Less\ZeroUnitsSniff in #251 by @svera
  • Created unit test for Magento2\Less\PropertiesLineBreakSniff in #244 by @svera
  • Created unit test for Magento2\Less\TypeSelectorConcatenationSniff check in #247 by @loginesta
  • Created unit test for Magento2\Less\VariablesSniff in #252 by @loginesta
  • Created unit test for Magento2\Less\ColonSpacingSniff in #237 by @svera
  • Created unit test for Magento2\Less\BracesFormattingSniff in #236 by @svera

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

NewReleases is sending notifications on new releases.