Release Notes - SonarPHP - Version 3.9 - HTML format

Bug

  • [SONARPHP-1022] - Regex in S1186 implementation leads to a StackOverflowError
  • [SONARPHP-1024] - NCLOC and other metrics should not be fed for PHP test files
  • [SONARPHP-1027] - Parser crashes on backslash in heredoc

New Feature

  • [SONARPHP-371] - S110: Inheritance tree of classes should not be too deep
  • [SONARPHP-1009] - S930: The number of arguments passed to a function should match the number of parameters

Task

  • [SONARPHP-1025] - Compliant and Noncompliant code examples of S5915 are the same.

Improvement

  • [SONARPHP-1010] - S3699: consider cross-file knowledge of method declarations to get possible returns
  • [SONARPHP-1011] - S2234: consider cross-file knowledge of function declarations to get parameter order
  • [SONARPHP-1018] - S100: exclude overriding methods based on cross-file resolution of hierarchy
  • [SONARPHP-1019] - S107: exclude overriding methods based on cross-file resolution of hierarchy
  • [SONARPHP-1020] - S1172: exclude overriding methods based on cross-file resolution of hierarchy
  • [SONARPHP-1021] - Log the currently analyzed file name when a StackOverflowError happens
  • [SONARPHP-1023] - S1186: Check only comments that are directly above the method
  • [SONARPHP-1029] - Return UnknownClassSymbol instead of throwing an exception

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.