Closed pnatashap closed 8 months ago
Part of migrating to PMD7
From migration guide: "When reporting a violation, you might see a deprecation of the addViolation methods. These methods have been moved to RuleContext. E.g. instead of addViolation(data, node, ...) use asCtx(data).addViolation(node, ...)."
@yegor256 please take a look
@rultor merge
@yegor256 OK, I'll try to merge now. You can check the progress of the merge here
@yegor256 Done! FYI, the full log is here (took me 13min)
Part of migrating to PMD7
From migration guide: "When reporting a violation, you might see a deprecation of the addViolation methods. These methods have been moved to RuleContext. E.g. instead of addViolation(data, node, ...) use asCtx(data).addViolation(node, ...)."