Skip to content

4.2.0.27261

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Oct 10:18
· 2 commits to master since this release
Immutable release. Only release title and notes can be modified.
f40796e

Release notes - SonarPHP - 4.2

False Positive

SONARPHP-1593 S1481 should handle closure scopes correctly
SONARPHP-1610 S1068 should not raise with ORM attributes
SONARPHP-1760 S1068 should not raise an issue on variable with dynamic property access
SONARPHP-1927 S1313: Adopt IpAddressClassifier for hardcoded-IP filtering in sonar-php
SONARPHP-1948 S1068 Fix FP when using dynamic class instantiation
SONARPHP-1950 S1068 Fix FPs for constants in enum-like classes
SONARPHP-1953 S1186 Several improvements to the rule
SONARPHP-1961 S1313: Fix FP on builtin version_compare operands
SONARPHP-1962 S1313: Fix FP on class-method diagnostic suffixes
SONARPHP-1969 S1481: Fix false positives on dynamically accessed local variables
SONARPHP-1972 S1481: Allow underscore-prefixed variables to express intentional non-use

Maintenance

SONARPHP-1942 Reduce method and constructor parameters to fix SonarQube violations
SONARPHP-1943 Prepare next development iteration 4.2
SONARPHP-1944 Update rule metadata
SONARPHP-1945 Update dependency org.sonarsource.scanner.engine:sensor-test-fixtures to v13.14.0.6149
SONARPHP-1946 Update Gradle dependencies to v12
SONARPHP-1951 S1068 Clarify message for unused promoted properties
SONARPHP-1954 Update all non-major dependencies
SONARPHP-1955 Update Gradle to v9.8.0
SONARPHP-1956 Update sonar-plugin-api to v14.1.0.5543
SONARPHP-1958 Remove deprecated pluginApiMinVersion
SONARPHP-1960 Update SonarSource/ci-github-actions action to v2
SONARPHP-1963 Set renovate cooldown to 5 days to align with step security policy
SONARPHP-1964 Resolve 5 SonarQube issues: make methods static and refactor conditional chain
SONARPHP-1965 Fix badges in readme
SONARPHP-1966 Update all non-major dependencies
SONARPHP-1967 Update Gradle to v9.8.1
SONARPHP-1968 Update sonar-plugin-api to v14.2.0.5584
SONARPHP-1975 Replace imperative loops with stream pipelines in check classes