dependabot[bot] opened a new pull request, #352: URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/352
Bumps `pmdVersion` from 7.24.0 to 7.26.0. Updates `net.sourceforge.pmd:pmd-core` from 7.24.0 to 7.26.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.26.0 (29-June-2026)</h2> <h2>29-June-2026 - 7.26.0</h2> <p>The PMD team is pleased to announce PMD 7.26.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/#swift-changes">Swift Changes</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer">Updated PMD Designer</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-and-changed-rules">🌟️ New and Changed Rules</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-rules">New Rules</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules">Deprecated 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>Swift Changes</h4> <p>The Swift parser now forwards syntax errors as usual processing errors. Before it just logged any errors and tried to move on, resulting in an incomplete AST with error nodes. As part of this change, the grammar has been slightly improved around macro declarations, generic parameters and parameter packs.<br /> This means that PMD might fail now on Swift files with processing errors, when it previously ran without obvious problems. The Swift module in PMD now behaves like other modules in regard to error handling.</p> <h4>Updated PMD Designer</h4> <p>This PMD release ships a new version of the pmd-designer. For the changes, see <a href="https://github.com/pmd/pmd-designer/releases/tag/7.19.3">PMD Designer Changelog (7.19.3)</a>.</p> <h3>🌟️ New and Changed Rules</h3> <h4>New Rules</h4> <ul> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#wrongtestannotation"><code>WrongTestAnnotation</code></a> detects when test annotations from the wrong testing framework (JUnit 4, JUnit Jupiter, or TestNG) are used in your code, preventing tests from being silently skipped due to framework mismatches. This helps avoid the silent failure where tests compile but don't execute because the test runner doesn't recognize the annotation.</li> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#assertequalsargumentorder"><code>AssertEqualsArgumentOrder</code></a> detects assertions where the expected and actual arguments were swapped. This helps find assertions that are producing a confusing error message when they fail.</li> <li>The new Kotlin rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_kotlin_bestpractices.html#localvariableshadowsparameter"><code>LocalVariableShadowsParameter</code></a> detects local variable declarations that use the same name as a parameter of the enclosing function. This shadows the parameter and may lead to confusion about which value is used.</li> <li>The new Apex rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_apex_errorprone.html#invocableclassnoargconstructor"><code>InvocableClassNoArgConstructor</code></a> detects classes that use <code>@InvocableVariable</code> properties, but that don't provide a no-arg constructor. Without such a constructor,</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/8fd38edf285a33e1164f66205ebe243441db9557"><code>8fd38ed</code></a> [release] prepare release pmd_releases/7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/9a1791a5ca1a85c41bad99e78c993ede76d61275"><code>9a1791a</code></a> Prepare pmd release 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/5d38f7890dcc4423ffb7eb6573bd1da4b3d5a4df"><code>5d38f78</code></a> Update contributors for 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/07bab85e63f3edc4ee4b5ac03a2c702c977151aa"><code>07bab85</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6627">#6627</a>: UnusedPrivateMethod: add javax to ignored annotations (<a href="https://redirect.github.com/pmd/pmd/issues/6821">#6821</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/b88677205d06d4c2251d2a7e839a26450e72ae5e"><code>b886772</code></a> [java] AvoidDeepNestedIfStmts: count ifs properly in else branch (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/62afded46db20b1ce6994a8eb6f825a7d2f09897"><code>62afded</code></a> Merge branch 'main' into pr-6814</li> <li><a href="https://github.com/pmd/pmd/commit/4c549016e99f664521c398380fc250d4e54bd0b6"><code>4c54901</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/99a8d9ccf4a00eaa2ef02e8ef5c708333427b274"><code>99a8d9c</code></a> Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/Avoid...</li> <li><a href="https://github.com/pmd/pmd/commit/dbdec252e15b15955ae20d40efe9013e69f8dd02"><code>dbdec25</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6740">#6740</a>: Fix FP in OptimizableToArrayCall (<a href="https://redirect.github.com/pmd/pmd/issues/6813">#6813</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/41f0d3969d11cb16a55a3571f865a218bb5a5909"><code>41f0d39</code></a> [java] Rename ASTMethodDeclaration#isOverridden() to isOverride() (<a href="https://redirect.github.com/pmd/pmd/issues/6812">#6812</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/7.24.0...pmd_releases/7.26.0">compare view</a></li> </ul> </details> <br /> Updates `net.sourceforge.pmd:pmd-java` from 7.24.0 to 7.26.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.26.0 (29-June-2026)</h2> <h2>29-June-2026 - 7.26.0</h2> <p>The PMD team is pleased to announce PMD 7.26.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/#swift-changes">Swift Changes</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer">Updated PMD Designer</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-and-changed-rules">🌟️ New and Changed Rules</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-rules">New Rules</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules">Deprecated 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>Swift Changes</h4> <p>The Swift parser now forwards syntax errors as usual processing errors. Before it just logged any errors and tried to move on, resulting in an incomplete AST with error nodes. As part of this change, the grammar has been slightly improved around macro declarations, generic parameters and parameter packs.<br /> This means that PMD might fail now on Swift files with processing errors, when it previously ran without obvious problems. The Swift module in PMD now behaves like other modules in regard to error handling.</p> <h4>Updated PMD Designer</h4> <p>This PMD release ships a new version of the pmd-designer. For the changes, see <a href="https://github.com/pmd/pmd-designer/releases/tag/7.19.3">PMD Designer Changelog (7.19.3)</a>.</p> <h3>🌟️ New and Changed Rules</h3> <h4>New Rules</h4> <ul> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#wrongtestannotation"><code>WrongTestAnnotation</code></a> detects when test annotations from the wrong testing framework (JUnit 4, JUnit Jupiter, or TestNG) are used in your code, preventing tests from being silently skipped due to framework mismatches. This helps avoid the silent failure where tests compile but don't execute because the test runner doesn't recognize the annotation.</li> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#assertequalsargumentorder"><code>AssertEqualsArgumentOrder</code></a> detects assertions where the expected and actual arguments were swapped. This helps find assertions that are producing a confusing error message when they fail.</li> <li>The new Kotlin rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_kotlin_bestpractices.html#localvariableshadowsparameter"><code>LocalVariableShadowsParameter</code></a> detects local variable declarations that use the same name as a parameter of the enclosing function. This shadows the parameter and may lead to confusion about which value is used.</li> <li>The new Apex rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_apex_errorprone.html#invocableclassnoargconstructor"><code>InvocableClassNoArgConstructor</code></a> detects classes that use <code>@InvocableVariable</code> properties, but that don't provide a no-arg constructor. Without such a constructor,</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/8fd38edf285a33e1164f66205ebe243441db9557"><code>8fd38ed</code></a> [release] prepare release pmd_releases/7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/9a1791a5ca1a85c41bad99e78c993ede76d61275"><code>9a1791a</code></a> Prepare pmd release 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/5d38f7890dcc4423ffb7eb6573bd1da4b3d5a4df"><code>5d38f78</code></a> Update contributors for 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/07bab85e63f3edc4ee4b5ac03a2c702c977151aa"><code>07bab85</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6627">#6627</a>: UnusedPrivateMethod: add javax to ignored annotations (<a href="https://redirect.github.com/pmd/pmd/issues/6821">#6821</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/b88677205d06d4c2251d2a7e839a26450e72ae5e"><code>b886772</code></a> [java] AvoidDeepNestedIfStmts: count ifs properly in else branch (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/62afded46db20b1ce6994a8eb6f825a7d2f09897"><code>62afded</code></a> Merge branch 'main' into pr-6814</li> <li><a href="https://github.com/pmd/pmd/commit/4c549016e99f664521c398380fc250d4e54bd0b6"><code>4c54901</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/99a8d9ccf4a00eaa2ef02e8ef5c708333427b274"><code>99a8d9c</code></a> Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/Avoid...</li> <li><a href="https://github.com/pmd/pmd/commit/dbdec252e15b15955ae20d40efe9013e69f8dd02"><code>dbdec25</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6740">#6740</a>: Fix FP in OptimizableToArrayCall (<a href="https://redirect.github.com/pmd/pmd/issues/6813">#6813</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/41f0d3969d11cb16a55a3571f865a218bb5a5909"><code>41f0d39</code></a> [java] Rename ASTMethodDeclaration#isOverridden() to isOverride() (<a href="https://redirect.github.com/pmd/pmd/issues/6812">#6812</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/7.24.0...pmd_releases/7.26.0">compare view</a></li> </ul> </details> <br /> Updates `net.sourceforge.pmd:pmd-javascript` from 7.24.0 to 7.26.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pmd/pmd/releases">net.sourceforge.pmd:pmd-javascript's releases</a>.</em></p> <blockquote> <h2>PMD 7.26.0 (29-June-2026)</h2> <h2>29-June-2026 - 7.26.0</h2> <p>The PMD team is pleased to announce PMD 7.26.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/#swift-changes">Swift Changes</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer">Updated PMD Designer</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-and-changed-rules">🌟️ New and Changed Rules</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-rules">New Rules</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules">Deprecated 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>Swift Changes</h4> <p>The Swift parser now forwards syntax errors as usual processing errors. Before it just logged any errors and tried to move on, resulting in an incomplete AST with error nodes. As part of this change, the grammar has been slightly improved around macro declarations, generic parameters and parameter packs.<br /> This means that PMD might fail now on Swift files with processing errors, when it previously ran without obvious problems. The Swift module in PMD now behaves like other modules in regard to error handling.</p> <h4>Updated PMD Designer</h4> <p>This PMD release ships a new version of the pmd-designer. For the changes, see <a href="https://github.com/pmd/pmd-designer/releases/tag/7.19.3">PMD Designer Changelog (7.19.3)</a>.</p> <h3>🌟️ New and Changed Rules</h3> <h4>New Rules</h4> <ul> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#wrongtestannotation"><code>WrongTestAnnotation</code></a> detects when test annotations from the wrong testing framework (JUnit 4, JUnit Jupiter, or TestNG) are used in your code, preventing tests from being silently skipped due to framework mismatches. This helps avoid the silent failure where tests compile but don't execute because the test runner doesn't recognize the annotation.</li> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#assertequalsargumentorder"><code>AssertEqualsArgumentOrder</code></a> detects assertions where the expected and actual arguments were swapped. This helps find assertions that are producing a confusing error message when they fail.</li> <li>The new Kotlin rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_kotlin_bestpractices.html#localvariableshadowsparameter"><code>LocalVariableShadowsParameter</code></a> detects local variable declarations that use the same name as a parameter of the enclosing function. This shadows the parameter and may lead to confusion about which value is used.</li> <li>The new Apex rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_apex_errorprone.html#invocableclassnoargconstructor"><code>InvocableClassNoArgConstructor</code></a> detects classes that use <code>@InvocableVariable</code> properties, but that don't provide a no-arg constructor. Without such a constructor,</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/8fd38edf285a33e1164f66205ebe243441db9557"><code>8fd38ed</code></a> [release] prepare release pmd_releases/7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/9a1791a5ca1a85c41bad99e78c993ede76d61275"><code>9a1791a</code></a> Prepare pmd release 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/5d38f7890dcc4423ffb7eb6573bd1da4b3d5a4df"><code>5d38f78</code></a> Update contributors for 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/07bab85e63f3edc4ee4b5ac03a2c702c977151aa"><code>07bab85</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6627">#6627</a>: UnusedPrivateMethod: add javax to ignored annotations (<a href="https://redirect.github.com/pmd/pmd/issues/6821">#6821</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/b88677205d06d4c2251d2a7e839a26450e72ae5e"><code>b886772</code></a> [java] AvoidDeepNestedIfStmts: count ifs properly in else branch (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/62afded46db20b1ce6994a8eb6f825a7d2f09897"><code>62afded</code></a> Merge branch 'main' into pr-6814</li> <li><a href="https://github.com/pmd/pmd/commit/4c549016e99f664521c398380fc250d4e54bd0b6"><code>4c54901</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/99a8d9ccf4a00eaa2ef02e8ef5c708333427b274"><code>99a8d9c</code></a> Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/Avoid...</li> <li><a href="https://github.com/pmd/pmd/commit/dbdec252e15b15955ae20d40efe9013e69f8dd02"><code>dbdec25</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6740">#6740</a>: Fix FP in OptimizableToArrayCall (<a href="https://redirect.github.com/pmd/pmd/issues/6813">#6813</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/41f0d3969d11cb16a55a3571f865a218bb5a5909"><code>41f0d39</code></a> [java] Rename ASTMethodDeclaration#isOverridden() to isOverride() (<a href="https://redirect.github.com/pmd/pmd/issues/6812">#6812</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/7.24.0...pmd_releases/7.26.0">compare view</a></li> </ul> </details> <br /> Updates `net.sourceforge.pmd:pmd-jsp` from 7.24.0 to 7.26.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pmd/pmd/releases">net.sourceforge.pmd:pmd-jsp's releases</a>.</em></p> <blockquote> <h2>PMD 7.26.0 (29-June-2026)</h2> <h2>29-June-2026 - 7.26.0</h2> <p>The PMD team is pleased to announce PMD 7.26.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/#swift-changes">Swift Changes</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#updated-pmd-designer">Updated PMD Designer</a></li> </ul> </li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-and-changed-rules">🌟️ New and Changed Rules</a> <ul> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#new-rules">New Rules</a></li> <li><a href="https://github.com/pmd/pmd/blob/HEAD/#deprecated-rules">Deprecated 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>Swift Changes</h4> <p>The Swift parser now forwards syntax errors as usual processing errors. Before it just logged any errors and tried to move on, resulting in an incomplete AST with error nodes. As part of this change, the grammar has been slightly improved around macro declarations, generic parameters and parameter packs.<br /> This means that PMD might fail now on Swift files with processing errors, when it previously ran without obvious problems. The Swift module in PMD now behaves like other modules in regard to error handling.</p> <h4>Updated PMD Designer</h4> <p>This PMD release ships a new version of the pmd-designer. For the changes, see <a href="https://github.com/pmd/pmd-designer/releases/tag/7.19.3">PMD Designer Changelog (7.19.3)</a>.</p> <h3>🌟️ New and Changed Rules</h3> <h4>New Rules</h4> <ul> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#wrongtestannotation"><code>WrongTestAnnotation</code></a> detects when test annotations from the wrong testing framework (JUnit 4, JUnit Jupiter, or TestNG) are used in your code, preventing tests from being silently skipped due to framework mismatches. This helps avoid the silent failure where tests compile but don't execute because the test runner doesn't recognize the annotation.</li> <li>The new Java rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_java_errorprone.html#assertequalsargumentorder"><code>AssertEqualsArgumentOrder</code></a> detects assertions where the expected and actual arguments were swapped. This helps find assertions that are producing a confusing error message when they fail.</li> <li>The new Kotlin rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_kotlin_bestpractices.html#localvariableshadowsparameter"><code>LocalVariableShadowsParameter</code></a> detects local variable declarations that use the same name as a parameter of the enclosing function. This shadows the parameter and may lead to confusion about which value is used.</li> <li>The new Apex rule <a href="https://docs.pmd-code.org/pmd-doc-7.26.0/pmd_rules_apex_errorprone.html#invocableclassnoargconstructor"><code>InvocableClassNoArgConstructor</code></a> detects classes that use <code>@InvocableVariable</code> properties, but that don't provide a no-arg constructor. Without such a constructor,</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pmd/pmd/commit/8fd38edf285a33e1164f66205ebe243441db9557"><code>8fd38ed</code></a> [release] prepare release pmd_releases/7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/9a1791a5ca1a85c41bad99e78c993ede76d61275"><code>9a1791a</code></a> Prepare pmd release 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/5d38f7890dcc4423ffb7eb6573bd1da4b3d5a4df"><code>5d38f78</code></a> Update contributors for 7.26.0</li> <li><a href="https://github.com/pmd/pmd/commit/07bab85e63f3edc4ee4b5ac03a2c702c977151aa"><code>07bab85</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6627">#6627</a>: UnusedPrivateMethod: add javax to ignored annotations (<a href="https://redirect.github.com/pmd/pmd/issues/6821">#6821</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/b88677205d06d4c2251d2a7e839a26450e72ae5e"><code>b886772</code></a> [java] AvoidDeepNestedIfStmts: count ifs properly in else branch (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/62afded46db20b1ce6994a8eb6f825a7d2f09897"><code>62afded</code></a> Merge branch 'main' into pr-6814</li> <li><a href="https://github.com/pmd/pmd/commit/4c549016e99f664521c398380fc250d4e54bd0b6"><code>4c54901</code></a> [doc] Update release notes (<a href="https://redirect.github.com/pmd/pmd/issues/6814">#6814</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/99a8d9ccf4a00eaa2ef02e8ef5c708333427b274"><code>99a8d9c</code></a> Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/Avoid...</li> <li><a href="https://github.com/pmd/pmd/commit/dbdec252e15b15955ae20d40efe9013e69f8dd02"><code>dbdec25</code></a> [java] Fix <a href="https://redirect.github.com/pmd/pmd/issues/6740">#6740</a>: Fix FP in OptimizableToArrayCall (<a href="https://redirect.github.com/pmd/pmd/issues/6813">#6813</a>)</li> <li><a href="https://github.com/pmd/pmd/commit/41f0d3969d11cb16a55a3571f865a218bb5a5909"><code>41f0d39</code></a> [java] Rename ASTMethodDeclaration#isOverridden() to isOverride() (<a href="https://redirect.github.com/pmd/pmd/issues/6812">#6812</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pmd/pmd/compare/pmd_releases/7.24.0...pmd_releases/7.26.0">compare view</a></li> </ul> </details> <br /> 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 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
