Skip to content

3.23.0.8726

Compare
Choose a tag to compare
@nils-werner-sonarsource nils-werner-sonarsource released this 09 Feb 12:54
· 317 commits to master since this release
6028c5a

New Feature

  • [SONARPHP-1270] - Rule S6393: Regular expressions should have valid delimiters
  • [SONARPHP-1272] - Rule S6396: Superfluous curly brace quantifiers should be avoided
  • [SONARPHP-1273] - Rule S6397: Character classes in regular expressions should not contain only one character
  • [SONARPHP-1274] - Rule S6323: Alternation in regular expressions should not contain empty alternatives
  • [SONARPHP-1275] - Rule S6326: Regular expressions should not contain multiple spaces
  • [SONARPHP-1276] - Rule S6353: Regular expression quantifiers and character classes should be used concisely
  • [SONARPHP-1277] - Rule S6328: Replacement strings should reference existing regular expression groups
  • [SONARPHP-1278] - Rule S6331: Regular expressions should not contain empty groups
  • [SONARPHP-1279] - Rule S6395: Non-capturing groups without quantifier should not be used

False-Positive

  • [SONARPHP-1268] - S3699 should not raise on arrow functions or match clauses