3.32.0.10180
Release notes - SonarPHP - 3.32
Bug
SONARPHP-1374 Wrong line detected for S1757
SONARPHP-1441 Solve ruling test results due to nondeterministic symbol creation
False-Positive
SONARPHP-1373 S2046 should not raise an issue for a shebang line
SONARPHP-1379 S4144 should not raise an issue when number of parameters or declared return type differ
SONARPHP-1387 S5899 public static methods should not raise issue on test discoverable
SONARPHP-1394 S115 raises issue if namespace is defined in constant
SONARPHP-1396 S5785 assertSame is suggested, but assertTrue will be better
SONARPHP-1397 S125 should not be raised on annotations that follow a comment opener
SONARPHP-1401 S2187 should not raise an issue when there are test methods in a parenting test class
SONARPHP-1407 S1185 should not raise an issue when method input parameters have different type declarations or change in signature visibility
SONARPHP-1408 S1144 should not raise an issue when a private method is called externally via the magic method __call()
SONARPHP-1412 S1848 Allow object creation for format validation when used in try-catch block
SONARPHP-1413 S2187 does not recognize test methods with attributes
SONARPHP-1440 S1144 raises an issue when a private method is used as a first class callable
Improvement
SONARPHP-1366 Get rid of `SetUtils::immutableSetOf`
SONARPHP-1376 Change title of S1200 and add secondary location to clarify detection logic
SONARPHP-1377 S1131 should only highlight the useless trailing whitespace
SONARPHP-1410 S117 allow use of underscore in variables
SONARPHP-1460 S4144 Add exceptions for simple return statements