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
andversion
attributes in themodule.xml
file in #230 by @svera - Test moved from magento2: sniff looking for occurrences of obsolete nodes:
param
,instance
,array
,item[@key]
andvalue
in di.xml in #233 by @loginesta
Improvements
- Added
eval
andproc*
functions to theInsecureFunctionSniff
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