dependabot[bot] opened a new pull request, #2126: URL: https://github.com/apache/cxf/pull/2126
Bumps [net.sourceforge.pmd:pmd-java](https://github.com/pmd/pmd) from 6.55.0 to 7.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pmd/pmd/releases">net.sourceforge.pmd:pmd-java's releases</a>.</em></p> <blockquote> <h2>PMD 7.7.0 (25-October-2024)</h2> <h2>25-October-2024 - 7.7.0</h2> <p>The PMD team is pleased to announce PMD 7.7.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/#new-and-noteworthy">🚀 New and noteworthy</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#cpd-can-now-ignore-literals-and-identifiers-in-c-code">CPD can now ignore literals and identifiers in C++ code</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#rule-changes">🌟 Rule Changes</a> <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/#renamed-rules">Renamed Rules</a></li> </ul> </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></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>🚀 New and noteworthy</h3> <h4>CPD can now ignore literals and identifiers in C++ code</h4> <p>When searching for duplicated code in C++ differences in literals or identifiers can be ignored now (like in Java). This can be enabled via the command line options <code>--ignore-literal</code> and <code>--ignore-identifiers</code>.<br /> See [PR <a href="https://redirect.github.com/pmd/pmd/issues/5040">#5040</a>](<a href="https://redirect.github.com/pmd/pmd/pull/5040">pmd/pmd#5040</a>) for details.</p> <h3>🌟 Rule Changes</h3> <h4>Changed Rules</h4> <ul> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#switchstmtsshouldhavedefault"><code>SwitchStmtsShouldHaveDefault</code></a> (Java Best Practices) doesn't report empty switch statements anymore. To detect these, use <a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#emptycontrolstatement"><code>EmptyControlStatement</code></a>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshoulduseafterannotation"><code>UnitTestShouldUseAfterAnnotation</code></a> (Java Best Practices) now also considers JUnit 5 and TestNG tests.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshouldusebeforeannotation"><code>UnitTestShouldUseBeforeAnnotation</code></a> (Java Best Practices) now also considers JUnit 5 and TestNG tests.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_performance.html#toofewbranchesforswitch"><code>TooFewBranchesForSwitch</code></a> (Java Performance) doesn't report empty switches anymore. To detect these, use <a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_codestyle.html#emptycontrolstatement"><code>EmptyControlStatement</code></a>.</li> </ul> <h4>Renamed Rules</h4> <ul> <li>Several rules for unit testing have been renamed to better reflect their actual scope. Lots of them were called after JUnit / JUnit 4, even when they applied to JUnit 5 and / or TestNG. <ul> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestassertionsshouldincludemessage"><code>UnitTestAssertionsShouldIncludeMessage</code></a> (Java Best Practices) has been renamed from <code>JUnitAssertionsShouldIncludeMessage</code>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestcontainstoomanyasserts"><code>UnitTestContainsTooManyAsserts</code></a> (Java Best Practices) has been renamed from <code>JUnitTestContainsTooManyAsserts</code>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshouldincludeassert"><code>UnitTestShouldIncludeAssert</code></a> (Java Best Practices) has been renamed from <code>JUnitTestsShouldIncludeAssert</code>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshoulduseafterannotation"><code>UnitTestShouldUseAfterAnnotation</code></a> (Java Best Practices) has been renamed from <code>JUnit4TestShouldUseAfterAnnotation</code>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshouldusebeforeannotation"><code>UnitTestShouldUseBeforeAnnotation</code></a> (Java Best Practices) has been renamed from <code>JUnit4TestShouldUseBeforeAnnotation</code>.</li> <li><a href="https://docs.pmd-code.org/pmd-doc-7.7.0/pmd_rules_java_bestpractices.html#unittestshouldusetestannotation"><code>UnitTestShouldUseTestAnnotation</code></a> (Java Best Practices) has been renamed from <code>JUnit4TestShouldUseTestAnnotation</code>.</li> </ul> </li> <li>Several rules about switch statements and switch expression have been renamed, as they apply both to Switch Statements and to Switch Expressions:</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/7739f2b840ca4b7116f126e714f1d05c32e84f44"><code>7739f2b</code></a> [release] prepare release pmd_releases/7.7.0</li> <li><a href="https://github.com/pmd/pmd/commit/919e73f6b0a509293c45ef1a03f6603b71339f6c"><code>919e73f</code></a> Prepare pmd release 7.7.0</li> <li><a href="https://github.com/pmd/pmd/commit/e2d59c0e64b515b58a355905081d015e413738b5"><code>e2d59c0</code></a> Fix <a href="https://redirect.github.com/pmd/pmd/issues/5244">#5244</a>: [java] UselessOperationOnImmutable: consider java.time.* types (<a href="https://redirect.github.com/pmd/pmd/issues/5">#5</a>...</li> <li><a href="https://github.com/pmd/pmd/commit/8f2d47dfb77b17cdf1339dfbd17fb56e137eab2d"><code>8f2d47d</code></a> Fix <a href="https://redirect.github.com/pmd/pmd/issues/5270">#5270</a>: [apex] AvoidNonRestrictiveQueries: Fix regex for detecting LIMIT c...</li> <li><a href="https://github.com/pmd/pmd/commit/e6097d6090a6c610ed978e90aab30a60f9f087c8"><code>e6097d6</code></a> [java] Rename rule SwitchStmtsShouldHaveDefault to NonExhaustiveSwitch (<a href="https://redirect.github.com/pmd/pmd/issues/5267">#5267</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/5e83246469c4361af8d3bc9811a41a494bc6bf11"><code>5e83246</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/5267">#5267</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/62c2858f708a575d13ca36fb654bcc96a77944d8"><code>62c2858</code></a> Fix <a href="https://redirect.github.com/pmd/pmd/issues/5257">#5257</a>: [java] NonCaseLabelInSwitch - support switch expressions (<a href="https://redirect.github.com/pmd/pmd/issues/5256">#5256</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/0d8878d58e1a8f532a01b5ed047e8de905500352"><code>0d8878d</code></a> [java] Rename rule DefaultLabelNotLastInSwitch (<a href="https://redirect.github.com/pmd/pmd/issues/5255">#5255</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/4b23718aac38683b0d5bf3d0e5bf695e10bfc68e"><code>4b23718</code></a> Fix <a href="https://redirect.github.com/pmd/pmd/issues/4813">#4813</a>: [java] SwitchStmtsShouldHaveDefault false positive with pattern ma...</li> <li><a href="https://github.com/pmd/pmd/commit/3a501a0f6b6a0576199b45fa6b35ecb124d5205c"><code>3a501a0</code></a> Fix <a href="https://redirect.github.com/pmd/pmd/issues/5249">#5249</a> and <a href="https://redirect.github.com/pmd/pmd/issues/5250">#5250</a>: [java] TooFewBranchesForSwitch ignore pattern matching a...</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/6.55.0...pmd_releases/7.7.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: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org