You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using only built-in rules -> check whether the ruleset/rules are still available,
have the same properties, etc.
I'm using custom rules -> make sure to have good test coverage for your custom rules first.
if XPath, need to migrate to XPath 2.0. if Java, some APIs/ASTs might have changed.
I've extended PMD with a custom language...
I've extended PMD with a custom feature...
General approach: Update to the latest PMD 6.x version and try to fix deprecation warnings
Decide whether a migration tool from PMD 6 --> 7 is necessary
That depends on [[PMD 7.0.0 Documentation|PMD-7.0.0-Documentation]] / Migration Guide.
If something can be automated, it's maybe worth it. But maybe, we don't need it, if most of the simple stuff can be done already on PMD 6 by fixing deprecation warnings.
--> Decision: Migration tool won't be necessary, the guide is enough.
The text was updated successfully, but these errors were encountered:
The following is done in #4590 :
have the same properties, etc.
if XPath, need to migrate to XPath 2.0. if Java, some APIs/ASTs might have changed.
addRuleChainVisit()
➡️buildTargetSelector()
but inclusive on PMD 6.x. See 5b7ed58
Not done:
--> Decision: Migration tool won't be necessary, the guide is enough.
The text was updated successfully, but these errors were encountered: