Skip to content

3.5.0.5655

Compare
Choose a tag to compare
@nils-werner-sonarsource nils-werner-sonarsource released this 28 May 08:26
· 751 commits to master since this release
01929a7

Release Notes - SonarSource Analyzer for PHP - Version 3.5

New Feature

  • [SONARPHP-693] - Rule S1226: Method parameters, caught exceptions and foreach variables' initial values should not be ignored
  • [SONARPHP-751] - Rule S2166: Classes named like "Exception" should extend "Exception" or a subclass
  • [SONARPHP-764] - Rule: Array values should not be replaced unconditionally
  • [SONARPHP-765] - Rule: Unary prefix operators should not be repeated
  • [SONARPHP-769] - Rule: Methods should not be empty
  • [SONARPHP-772] - Rule: Octal values should not be used
  • [SONARPHP-774] - Rule: "switch" statements should not be nested
  • [SONARPHP-775] - Rule: Parameters should be passed in the correct order
  • [SONARPHP-790] - Rule S1155: "empty()" should be used to test for emptiness
  • [SONARPHP-791] - Rule S1940: Boolean checks should not be inverted