dependabot[bot] opened a new pull request, #11614: URL: https://github.com/apache/maven/pull/11614
Bumps [net.sourceforge.pmd:pmd-core](https://github.com/pmd/pmd) from 7.19.0 to 7.20.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pmd/pmd/releases">net.sourceforge.pmd:pmd-core's releases</a>.</em></p> <blockquote> <h2>PMD 7.20.0 (30-December-2025)</h2> <h2>30-December-2025 - 7.20.0</h2> <p>The PMD team is pleased to announce PMD 7.20.0.</p> <p>This is a minor release.</p> <h3>Table Of Contents</h3> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#changed-rules">🌟️ Changed Rules</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#fixed-issues">🐛️ Fixed Issues</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#api-changes">🚨️ API Changes</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#experimental-api">Experimental API</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#merged-pull-requests">✨️ Merged pull requests</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#dependency-updates">📦️ Dependency updates</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#stats">📈️ Stats</a></li> </ul> <h3>🌟️ Changed Rules</h3> <ul> <li>The Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.20.0/pmd_rules_java_codestyle.html#onlyonereturn"><code>OnlyOneReturn</code></a> has a new property <code>ignoredMethodNames</code>. This property by default is set to <code>compareTo</code> and <code>equals</code>, thus this rule now by default allows multiple return statements for these methods. To restore the old behavior, simply set this property to an empty value.</li> </ul> <h3>🐛️ Fixed Issues</h3> <ul> <li>core <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/6330">#6330</a>: [core] "Unable to create ValueRepresentation" when using @<!-- raw HTML omitted -->LiteralText (XPath)</li> </ul> </li> <li>java <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/6234">#6234</a>: [java] Parser fails to parse switch expressions in super() constructor calls</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6299">#6299</a>: [java] Fix grammar of switch label</li> </ul> </li> <li>java-bestpractices <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/4282">#4282</a>: [java] GuardLogStatement: False positive when guard is not a direct parent</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6028">#6028</a>: [java] UnusedPrivateMethod: False positive with raw type for generic method</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6257">#6257</a>: [java] UnusedLocalVariable: False positive with instanceof pattern guard</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6291">#6291</a>: [java] EnumComparison: False positive for any object when object.equals(null)</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6328">#6328</a>: [java] UnusedLocalVariable: False positive for pattern variable in for-each without braces</li> </ul> </li> <li>java-codestyle <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/4257">#4257</a>: [java] OnlyOneReturn: False positive with equals method</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/5043">#5043</a>: [java] LambdaCanBeMethodReference: False positive on overloaded methods</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6237">#6237</a>: [java] UnnecessaryCast: ContextedRuntimeException when parsing switch expression with lambdas</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6279">#6279</a>: [java] EmptyMethodInAbstractClassShouldBeAbstract: False positive for final empty methods</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6284">#6284</a>: [java] UnnecessaryConstructor: False positive for JavaDoc-bearing constructor</li> </ul> </li> <li>java-errorprone <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/6276">#6276</a>: [java] NullAssignment: False positive when assigning null to a final field in a constructor</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/6343">#6343</a>: [java] MissingStaticMethodInNonInstantiatableClass: False negative when method in nested class returns null</li> </ul> </li> <li>java-performance <ul> <li><a href="https://redirect.github.com/pmd/pmd/issues/4158">#4158</a>: [java] BigIntegerInstantiation: False negative with compile-time constant</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/4910">#4910</a>: [java] ConsecutiveAppendsShouldReuse: False positive within if-statement without curly braces</li> <li><a href="https://redirect.github.com/pmd/pmd/issues/5877">#5877</a>: [java] AvoidArrayLoops: False negative when break inside switch statement</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/fa478ec141c154d34aac5389f0d5add0f28ecfea"><code>fa478ec</code></a> [release] prepare release pmd_releases/7.20.0</li> <li><a href="https://github.com/pmd/pmd/commit/0be0d64865554d51d483bb0462d77f838bfe7af9"><code>0be0d64</code></a> Prepare pmd release 7.20.0</li> <li><a href="https://github.com/pmd/pmd/commit/32ceb3f9abbca8ecc31435071e7662869cc1bb5e"><code>32ceb3f</code></a> Update all-contributors</li> <li><a href="https://github.com/pmd/pmd/commit/cbc6795a649cde1710d8aaf768df9ff6a09dbeb6"><code>cbc6795</code></a> [doc] Update last_updated for 3rdpartyrulesets.md</li> <li><a href="https://github.com/pmd/pmd/commit/dba6ca6cb6219feed1b742fdb3db8e1fcf13af67"><code>dba6ca6</code></a> [apex] Add sca-extra ruleset for Salesforce Apex testing (<a href="https://redirect.github.com/pmd/pmd/issues/6363">#6363</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/668a73394149d48da63ea17a1b4e6ea12654a15b"><code>668a733</code></a> Add sca-extra ruleset for Salesforce Apex testing</li> <li><a href="https://github.com/pmd/pmd/commit/e4c75fd1e803e99d2174555e66ffc4c2b73129b4"><code>e4c75fd</code></a> [vf] Fix invalid Javadoc syntax in VfDocStyleTest (<a href="https://redirect.github.com/pmd/pmd/issues/6361">#6361</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/b5bf8fd0f62d4c21a716b7f15a2c80357ae7f6f4"><code>b5bf8fd</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/4158">#4158</a>: BigIntegerInstantiation false-negative with compile-time co...</li> <li><a href="https://github.com/pmd/pmd/commit/eb35c7537f148888c53f5d4dc98298b5fb5ea81d"><code>eb35c75</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/4158">#4158</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/e68504315c4810e70349bbd1b04c9fe1d57fab44"><code>e685043</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6234">#6234</a>: Parser fails to parse switch expressions in super() constru...</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/7.19.0...pmd_releases/7.20.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
