Skip to content

[doc] Renamed/Moved rules are missing in documentation #2823

@adangel

Description

@adangel

Affects PMD Version:

Since 6.20.0

Description:

The rule InvalidSlf4jMessageFormat has been renamed to InvalidLogMessageFormat. This happened with 6.19.0

Since then, we seem to ignore deprecated rule references....

Deprecated rules are still there, e.g.: https://pmd.github.io/latest/pmd_rules_java_errorprone.html#dataflowanomalyanalysis

In pmd-docs, we have a test case for this, but the test case is wrong:

<rule name="RenamedRule" ref="JumbledIncrementer"/>

According to our docs, it should have used the deprecated flag: https://pmd.github.io/latest/pmd_devdocs_rule_deprecation_policy.html#renaming-rules

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:bugPMD crashes or fails to analyse a file.in:documentationAffects the documentation [doc]

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions