The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where
or limit statement. This can quickly cause governor limit exceptions.
Changed rules
ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns
for inner classes and interfaces: innerClassPattern and innerInterfacePattern.
Renamed rules
InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral.
The old rule name still works but is deprecated.
π Fixed Issues
apex
#5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
apex-bestpractices
#5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
apex-codestyle
#4800: [apex] ClassNamingConvention: Support naming convention for inner classes
apex-performance
#635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
java-bestpractices
#5106: [java] AccessorClassGeneration: Node was null for default constructor
#5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
#5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
java-errorprone
#1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
javascript-errorprone
#2367: [javascript] InnaccurateNumericLiteral is misspelled
The new Apex rule AvoidNonRestrictiveQueries finds SOQL and SOSL queries without a where
or limit statement. This can quickly cause governor limit exceptions.
Changed rules
ClassNamingConventions (Apex Codestyle): Two new properties to configure different patterns
for inner classes and interfaces: innerClassPattern and innerInterfacePattern.
Renamed rules
InaccurateNumericLiteral (JavaScript Error Prone) has been renamed from InnaccurateNumericLiteral.
The old rule name still works but is deprecated.
π Fixed Issues
apex
#5094: [apex] "No adapter exists for type" error message printed to stdout instead of stderr
apex-bestpractices
#5095: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative due to casing (regression in PMD 7)
apex-codestyle
#4800: [apex] ClassNamingConvention: Support naming convention for inner classes
apex-performance
#635: [apex] New Rule: Avoid soql/sosl queries without a where clause or limit statement
java-bestpractices
#5106: [java] AccessorClassGeneration: Node was null for default constructor
#5110: [java] UnusedPrivateMethod for method referenced by lombok.Builder.ObtainVia
#5117: [java] UnusedPrivateMethod for methods annotated with jakarta.annotation.PostConstruct or PreDestroy
java-errorprone
#1488: [java] MissingStaticMethodInNonInstantiatableClass: False positive with Lombok Builder on Constructor
javascript-errorprone
#2367: [javascript] InnaccurateNumericLiteral is misspelled
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 commands and options
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 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)
Bumps
pmd.version
from 7.3.0 to 7.4.0. Updatesnet.sourceforge.pmd:pmd-core
from 7.3.0 to 7.4.0Release notes
Sourced from net.sourceforge.pmd:pmd-core's releases.
... (truncated)
Commits
db5fa2d
[release] prepare release pmd_releases/7.4.05992a2d
Prepare pmd release 7.4.07272799
Merge pull request #5134 from adangel/issue-5133-plsql-parse-error3ffb3ec
Merge pull request #5137 from adangel/issue-5106-AccessorClassGenerationc194d3e
Add@βrbri
as a contributor41393d4
[java] AccessorClassGeneration - handle default ctors6a242f0
[plsql] Fix CollectionTypeName parsing87b0c4f
[plsql] Fix ScalarDataTypeName parsing5d39923
[core] Don't log warning about skipLexicalErrors twice (#5102)a3f9d4a
[java] Simplify UnusedPrivateMethodRuleUpdates
net.sourceforge.pmd:pmd-java
from 7.3.0 to 7.4.0Release notes
Sourced from net.sourceforge.pmd:pmd-java's releases.
... (truncated)
Commits
db5fa2d
[release] prepare release pmd_releases/7.4.05992a2d
Prepare pmd release 7.4.07272799
Merge pull request #5134 from adangel/issue-5133-plsql-parse-error3ffb3ec
Merge pull request #5137 from adangel/issue-5106-AccessorClassGenerationc194d3e
Add@βrbri
as a contributor41393d4
[java] AccessorClassGeneration - handle default ctors6a242f0
[plsql] Fix CollectionTypeName parsing87b0c4f
[plsql] Fix ScalarDataTypeName parsing5d39923
[core] Don't log warning about skipLexicalErrors twice (#5102)a3f9d4a
[java] Simplify UnusedPrivateMethodRuleDependabot 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 commands and options
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