SONARJAVA-6242 Deprecate S5042#5610
Conversation
SummaryRule S5042 (Zip Bomb detection) is being marked as deprecated. The change removes it from default quality profiles, updates its status to "deprecated" with a notice in the rule description, and removes it from autoscan test resources. The PR scope is limited to deprecation only—no changes to rule severity, type, or behavior, as noted in the author's description. What reviewers should knowKey files to review:
Notes for reviewers:
|
bdd66a2 to
037fe7a
Compare
037fe7a to
bda552e
Compare
bda552e to
64fd0f6
Compare
|
There was a problem hiding this comment.
LGTM! ✅
Clean, complete deprecation. Every expected touch point is covered: rule status, deprecation notice, both quality profiles, the autoscan resources, and the exact-count assertion in JavaAgenticWayProfileTest. The deprecation notice wording in S5042.html is consistent with the pattern used by other deprecated rules in this repo.





Changes were pulled from https://github.com/SonarSource/rspec/pull/6752 and selectively picked to only reflect the deprecation status change. This PR does not include the changes related to the rule changing from a hotspot to a code smell or any change in severity.