dependabot maven(deps): bump pmd.version from 6.50.0 to 6.51.0
Bumps pmd.version
from 6.50.0 to 6.51.0.
Updates pmd-core
from 6.50.0 to 6.51.0
Release notes
Sourced from pmd-core's releases.
PMD 6.51.0 (29-October-2022)
29-October-2022 - 6.51.0
The PMD team is pleased to announce PMD 6.51.0.
This is a minor release.
Table Of Contents
New and noteworthy
New Rules
- The new Apex rule
ApexUnitTestClassShouldHaveRunAs
ensures that unit tests use System.runAs() at least once. This makes the tests more robust, and independent from the user running it.<rule ref="category/apex/bestpractices.xml/ApexUnitTestClassShouldHaveRunAs"/>
The rule is part of the quickstart.xml ruleset.
Modified Rules
- The Java rule
TestClassWithoutTestCases
has a new propertytestClassPattern
. This is used to detect empty test classes by name. Previously this rule could only detect empty JUnit3 test cases properly. To switch back to the old behavior, this property can be set to an empty value which disables the test class detection by pattern.Fixed Issues
- apex
- #4149: [apex] New rule: ApexUnitTestClassShouldHaveRunAs
- doc
- java-bestpractices
- #4140: [java] [doc] AccessorClassGeneration violations hidden with Java 11
- java-codestyle
- #4139: [java] UnnecessaryFullyQualifiedName FP when the same simple class name exists in the current package
- java-documentation
- #4141: [java] UncommentedEmptyConstructor FP when constructor annotated with @Autowired
... (truncated)
Commits
-
66e8340
[maven-release-plugin] prepare release pmd_releases/6.51.0 -
22425a6
Prepare pmd release 6.51.0 -
0a10dad
Add@tysonstewart
as a contributor -
e7013bb
Add@rnveach
as a contributor -
2f515e5
Merge pull request #4170 from adangel:issue-4140-doc-max-lang-version -
66d67c7
Merge pull request #4169 from adangel:issue-4165-InaccurateNumericLiteral -
e59d25b
Merge pull request #4162 from adangel:improve-TestClassWithoutTestCases -
fc8c01a
Merge pull request #4160 from adangel:issue-4139-UnnecessaryFullyQualifiedName -
59cfe99
Merge pull request #4159 from adangel:AvoidArrayLoops-improvements -
af013d6
Merge pull rquest #4156 from adangel:issue-4148-ArrayListVector - Additional commits viewable in compare view
Updates pmd-java
from 6.50.0 to 6.51.0
Release notes
Sourced from pmd-java's releases.
PMD 6.51.0 (29-October-2022)
29-October-2022 - 6.51.0
The PMD team is pleased to announce PMD 6.51.0.
This is a minor release.
Table Of Contents
New and noteworthy
New Rules
- The new Apex rule
ApexUnitTestClassShouldHaveRunAs
ensures that unit tests use System.runAs() at least once. This makes the tests more robust, and independent from the user running it.<rule ref="category/apex/bestpractices.xml/ApexUnitTestClassShouldHaveRunAs"/>
The rule is part of the quickstart.xml ruleset.
Modified Rules
- The Java rule
TestClassWithoutTestCases
has a new propertytestClassPattern
. This is used to detect empty test classes by name. Previously this rule could only detect empty JUnit3 test cases properly. To switch back to the old behavior, this property can be set to an empty value which disables the test class detection by pattern.Fixed Issues
- apex
- #4149: [apex] New rule: ApexUnitTestClassShouldHaveRunAs
- doc
- java-bestpractices
- #4140: [java] [doc] AccessorClassGeneration violations hidden with Java 11
- java-codestyle
- #4139: [java] UnnecessaryFullyQualifiedName FP when the same simple class name exists in the current package
- java-documentation
- #4141: [java] UncommentedEmptyConstructor FP when constructor annotated with @Autowired
... (truncated)
Commits
-
66e8340
[maven-release-plugin] prepare release pmd_releases/6.51.0 -
22425a6
Prepare pmd release 6.51.0 -
0a10dad
Add@tysonstewart
as a contributor -
e7013bb
Add@rnveach
as a contributor -
2f515e5
Merge pull request #4170 from adangel:issue-4140-doc-max-lang-version -
66d67c7
Merge pull request #4169 from adangel:issue-4165-InaccurateNumericLiteral -
e59d25b
Merge pull request #4162 from adangel:improve-TestClassWithoutTestCases -
fc8c01a
Merge pull request #4160 from adangel:issue-4139-UnnecessaryFullyQualifiedName -
59cfe99
Merge pull request #4159 from adangel:AvoidArrayLoops-improvements -
af013d6
Merge pull rquest #4156 from adangel:issue-4148-ArrayListVector - Additional commits viewable in compare view
Updates pmd-javascript
from 6.50.0 to 6.51.0
Release notes
Sourced from pmd-javascript's releases.
PMD 6.51.0 (29-October-2022)
29-October-2022 - 6.51.0
The PMD team is pleased to announce PMD 6.51.0.
This is a minor release.
Table Of Contents
New and noteworthy
New Rules
- The new Apex rule
ApexUnitTestClassShouldHaveRunAs
ensures that unit tests use System.runAs() at least once. This makes the tests more robust, and independent from the user running it.<rule ref="category/apex/bestpractices.xml/ApexUnitTestClassShouldHaveRunAs"/>
The rule is part of the quickstart.xml ruleset.
Modified Rules
- The Java rule
TestClassWithoutTestCases
has a new propertytestClassPattern
. This is used to detect empty test classes by name. Previously this rule could only detect empty JUnit3 test cases properly. To switch back to the old behavior, this property can be set to an empty value which disables the test class detection by pattern.Fixed Issues
- apex
- #4149: [apex] New rule: ApexUnitTestClassShouldHaveRunAs
- doc
- java-bestpractices
- #4140: [java] [doc] AccessorClassGeneration violations hidden with Java 11
- java-codestyle
- #4139: [java] UnnecessaryFullyQualifiedName FP when the same simple class name exists in the current package
- java-documentation
- #4141: [java] UncommentedEmptyConstructor FP when constructor annotated with @Autowired
... (truncated)
Commits
-
66e8340
[maven-release-plugin] prepare release pmd_releases/6.51.0 -
22425a6
Prepare pmd release 6.51.0 -
0a10dad
Add@tysonstewart
as a contributor -
e7013bb
Add@rnveach
as a contributor -
2f515e5
Merge pull request #4170 from adangel:issue-4140-doc-max-lang-version -
66d67c7
Merge pull request #4169 from adangel:issue-4165-InaccurateNumericLiteral -
e59d25b
Merge pull request #4162 from adangel:improve-TestClassWithoutTestCases -
fc8c01a
Merge pull request #4160 from adangel:issue-4139-UnnecessaryFullyQualifiedName -
59cfe99
Merge pull request #4159 from adangel:AvoidArrayLoops-improvements -
af013d6
Merge pull rquest #4156 from adangel:issue-4148-ArrayListVector - Additional commits viewable in compare view
Updates pmd-jsp
from 6.50.0 to 6.51.0
Release notes
Sourced from pmd-jsp's releases.
PMD 6.51.0 (29-October-2022)
29-October-2022 - 6.51.0
The PMD team is pleased to announce PMD 6.51.0.
This is a minor release.
Table Of Contents
New and noteworthy
New Rules
- The new Apex rule
ApexUnitTestClassShouldHaveRunAs
ensures that unit tests use System.runAs() at least once. This makes the tests more robust, and independent from the user running it.<rule ref="category/apex/bestpractices.xml/ApexUnitTestClassShouldHaveRunAs"/>
The rule is part of the quickstart.xml ruleset.
Modified Rules
- The Java rule
TestClassWithoutTestCases
has a new propertytestClassPattern
. This is used to detect empty test classes by name. Previously this rule could only detect empty JUnit3 test cases properly. To switch back to the old behavior, this property can be set to an empty value which disables the test class detection by pattern.Fixed Issues
- apex
- #4149: [apex] New rule: ApexUnitTestClassShouldHaveRunAs
- doc
- java-bestpractices
- #4140: [java] [doc] AccessorClassGeneration violations hidden with Java 11
- java-codestyle
- #4139: [java] UnnecessaryFullyQualifiedName FP when the same simple class name exists in the current package
- java-documentation
- #4141: [java] UncommentedEmptyConstructor FP when constructor annotated with @Autowired
... (truncated)
Commits
-
66e8340
[maven-release-plugin] prepare release pmd_releases/6.51.0 -
22425a6
Prepare pmd release 6.51.0 -
0a10dad
Add@tysonstewart
as a contributor -
e7013bb
Add@rnveach
as a contributor -
2f515e5
Merge pull request #4170 from adangel:issue-4140-doc-max-lang-version -
66d67c7
Merge pull request #4169 from adangel:issue-4165-InaccurateNumericLiteral -
e59d25b
Merge pull request #4162 from adangel:improve-TestClassWithoutTestCases -
fc8c01a
Merge pull request #4160 from adangel:issue-4139-UnnecessaryFullyQualifiedName -
59cfe99
Merge pull request #4159 from adangel:AvoidArrayLoops-improvements -
af013d6
Merge pull rquest #4156 from adangel:issue-4148-ArrayListVector - Additional commits viewable in compare view