28436 Commits

Author SHA1 Message Date
Andreas Dangel
1038eaa283 [apex] Verify EmptyIfStmt and EmptyStatementBlock with triggers 2024-09-06 19:43:07 +02:00
Andreas Dangel
fe0d05d8d5 [apex] Fix parsing of method decl. inside triggers 2024-09-06 18:42:52 +02:00
Andreas Dangel
97fe106724 [apex] Verify OperationWithLimitsInLoop for triggers 2024-09-06 18:42:22 +02:00
Andreas Dangel
9810bfc3cc [apex] Verify CognitiveComplexity for triggers 2024-09-06 18:42:03 +02:00
Andreas Dangel
6b0a2a1ffa [apex] Fix ApexCRUDViolation for triggers 2024-09-06 18:41:25 +02:00
Andreas Dangel
92bab6a38f [apex] Fix AvoidDeeplyNestedIfStmts for triggers 2024-09-06 18:40:43 +02:00
Clément Fournier
9ecc8897be Fix #5190 - NPE caused by null type 2024-09-04 13:39:41 +02:00
Clément Fournier
68820a4c77 Fix #5046 - FPs in LocalVariableCouldBeFinal
This adds FNs to UnusedAssignment
2024-09-03 11:35:33 +02:00
Clément Fournier
9d925b513d Add test case for #5190 2024-09-03 11:16:56 +02:00
Juan Martín Sotuyo Dodero
7ba88e9eba Merge pull request #5188 from adangel/bump-apex-parser
[apex] Use new apex-parser 4.2.0
2024-09-02 15:41:51 -03:00
Andreas Dangel
07ae01b4ea [apex] Use new apex-parser 4.2.0
Verify that #5163 and #5182 are fixed.
2024-09-02 19:42:20 +02:00
Juan Martín Sotuyo Dodero
c46fe6e6aa Merge pull request #5187 from pmd/dependabot/maven/org.apache.maven.plugins-maven-install-plugin-3.1.3
Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.3
2024-09-02 11:27:06 -03:00
dependabot[bot]
eee22e0c17 Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.3
Bumps [org.apache.maven.plugins:maven-install-plugin](https://github.com/apache/maven-install-plugin) from 3.1.1 to 3.1.3.
- [Release notes](https://github.com/apache/maven-install-plugin/releases)
- [Commits](https://github.com/apache/maven-install-plugin/compare/maven-install-plugin-3.1.1...maven-install-plugin-3.1.3)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-install-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 03:08:01 +00:00
Juan Martín Sotuyo Dodero
aa9a38de0e Merge pull request #5186 from oowekyala/implicit-class-cleanup
[java] Cleanup things about implicit classes
2024-09-01 17:49:57 -03:00
Clément Fournier
fe341cf400 Cleanup things with implicit classes 2024-09-01 21:35:50 +02:00
Andreas Dangel
73d3c59205 Bump checkstyle from 10.14.0 to 10.18.1 (#5185)
Merge pull request #5185 from adangel/bump-checkstyle-10.18.1
2024-08-30 18:31:42 +02:00
Andreas Dangel
88596a2f5a Bump build-tools from 26 to 27-SNAPSHOT 2024-08-30 17:42:08 +02:00
Andreas Dangel
025356dadc Bump checkstyle from 10.14.0 to 10.18.1
Also bump maven-checkstyle-plugin from 3.4.0 to 3.5.0
2024-08-30 17:13:21 +02:00
Andreas Dangel
52c66e4dad Use PMD 7.5.0 for checks 2024-08-30 11:21:01 +02:00
Andreas Dangel
2ed25964b8 [release] Prepare next development version [skip ci] 2024-08-30 10:52:17 +02:00
Andreas Dangel
74ada426af [release] prepare release pmd_releases/7.5.0 pmd_releases/7.5.0 2024-08-30 10:31:09 +02:00
Andreas Dangel
453f6690b0 Prepare pmd release 7.5.0 2024-08-30 10:10:53 +02:00
Andreas Dangel
bff14449b2 [doc] Update pmd_sidebar.yml 2024-08-29 18:08:08 +02:00
Andreas Dangel
8b44d2f374 [javascript] New rule AvoidConsoleStatements (#5126)
Merge pull request #5126 from adangel:js-rule-avoidconsolestatements
2024-08-29 17:42:24 +02:00
Andreas Dangel
537dab95e4 [java] Support Java 23 (#5112)
Merge pull request #5112 from issue-5062-support-java-23
2024-08-29 17:39:04 +02:00
Andreas Dangel
819b6bc5fb [java] Fix #5084 - crash in LUB with raw types (#5179)
Merge pull request #5179 from oowekyala:issue5084-lub-crash
2024-08-29 17:32:49 +02:00
Andreas Dangel
ada303de83 [doc] Document new java language prop xStrictTypeRes 2024-08-29 17:30:45 +02:00
Andreas Dangel
a44a5ca4ef [doc] Update release notes (#5048) 2024-08-29 16:58:57 +02:00
Andreas Dangel
c6ef54326c Add @AB-xdev as a contributor 2024-08-29 16:58:42 +02:00
Andreas Dangel
488807ff90 [java] Add testcase for #5048 2024-08-29 16:58:16 +02:00
Andreas Dangel
20b667d7e4 Merge branch 'master' into pr-5179 2024-08-29 16:55:38 +02:00
Andreas Dangel
773f792dd6 [java] Fix #5162 SingularField FP with synchronized block (#5178)
Merge pull request #5178 from oowekyala:issue5162-singularfield-synchronized
2024-08-29 13:05:50 +02:00
Andreas Dangel
d7f564782a [doc] Update release notes (#5162, #5178) 2024-08-29 13:04:41 +02:00
Andreas Dangel
610f937bc4 [java] Update AvoidSynchronizedAtMethodLevel message to mention ReentrantLock, new rule AvoidSynchronizedStatement (#5175)
Merge pull request #5175 from chonton:ReentrantLock
2024-08-29 12:50:13 +02:00
Andreas Dangel
3c3be3c81d [doc] Update release notes (#5175) 2024-08-29 12:48:14 +02:00
Andreas Dangel
a4cac6b74f Update @chonton as a contributor 2024-08-29 12:46:30 +02:00
Andreas Dangel
93db59bea5 Apply suggestions from code review 2024-08-29 12:41:02 +02:00
dependabot[bot]
8f74060ff1 Bump net.sf.saxon:Saxon-HE from 12.4 to 12.5 (#5180)
Bumps net.sf.saxon:Saxon-HE from 12.4 to 12.5.

---
updated-dependencies:
- dependency-name: net.sf.saxon:Saxon-HE
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 10:23:42 +02:00
Andreas Dangel
879240f97d [plsql] Improve merge statement (order of merge insert/update flexible, allow prefixes in column names) (#5125)
Merge pull request #5125 from duursma:merge-fix-3
2024-08-29 10:15:36 +02:00
Andreas Dangel
d4779a135e [doc] Update release notes (#5125) 2024-08-29 10:14:53 +02:00
Andreas Dangel
60a29f08a5 Merge branch 'master' into pr-5125 2024-08-29 10:10:35 +02:00
Andreas Dangel
753dcca877 [doc] Update contributors
- Add @jbisotti as a contributor
- Add @soloturn as a contributor
- Add @schosin as a contributor
2024-08-29 09:58:16 +02:00
Andreas Dangel
af1929318b [doc] Update release notes 2024-08-29 09:30:40 +02:00
Andreas Dangel
40688ae06d [java] Revamp GuardLogStatementRule to allow var, field and array accesses (#5169)
Merge pull request #5169 from Monits:issue-5151
2024-08-29 09:25:59 +02:00
Clément Fournier
672fd635c9 Improve error handling of semantic exceptions 2024-08-28 13:23:43 +02:00
Andreas Dangel
93bfe7df0f Merge branch 'master' into issue-5062-support-java-23 2024-08-27 20:09:09 +02:00
Andreas Dangel
d7d8c9cb29 [java] Rename ASTImportDeclaration#isModuleImport 2024-08-27 19:58:07 +02:00
Andreas Dangel
cd33eb621e Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/64
Fixes CVE-2024-43380
Fixes https://github.com/advisories/GHSA-2m96-52r3-2f3g
Fixes https://github.com/pmd/pmd/security/dependabot/65
Fixes https://github.com/pmd/pmd/security/dependabot/66
Fixes CVE-2024-43398
Fixes https://github.com/advisories/GHSA-vmwr-mc7x-5vc3
2024-08-27 19:16:38 +02:00
Andreas Dangel
77bf2b1616 [doc] Update release notes (#5167) 2024-08-27 19:13:56 +02:00
Clément Fournier
9c0c7f28e2 Throw typeres failures instead of catching them
They will be surfaced as processing errors
2024-08-26 13:21:41 +02:00