Description
If you use a custom ruleset, which contains deprecated rules, then a warnings is expected.
E.g. referencing this rule
<rule ref="rulesets/java/basic.xml/CollapsibleIfStatements"/>
Should give the warning:
[WARNING] Use Rule name category/java/design.xml/CollapsibleIfStatements instead of the deprecated Rule name rulesets/java/basic.xml/CollapsibleIfStatements. PMD 7.0.0 will remove support for this deprecated Rule name usage.