28257 Commits

Author SHA1 Message Date
Andreas Dangel
210e3e59ae Enable dependabot
- dependabot runs weekly
- github-action and bundler are creating
  a single PR for updating
- also integrate automatic release notes
  generation
2024-07-26 11:48:20 +02:00
Andreas Dangel
39750cf158 Use PMD 7.4.0 for checks 2024-07-26 11:08:05 +02:00
Andreas Dangel
ee800d326f [release] Prepare next development version [skip ci] 2024-07-26 10:11:46 +02:00
Andreas Dangel
db5fa2dbce [release] prepare release pmd_releases/7.4.0 pmd_releases/7.4.0 2024-07-26 09:03:38 +02:00
Andreas Dangel
5992a2d53f Prepare pmd release 7.4.0 2024-07-26 08:43:05 +02:00
Juan Martín Sotuyo Dodero
727279977d Merge pull request #5134 from adangel/issue-5133-plsql-parse-error
[plsql] Fix ScalarDataTypeName and CollectionTypeName parsing
2024-07-25 14:36:16 -03:00
Juan Martín Sotuyo Dodero
3ffb3ec210 Merge pull request #5137 from adangel/issue-5106-AccessorClassGeneration
[java] AccessorClassGeneration - handle default ctors
2024-07-25 12:49:27 -03:00
Andreas Dangel
c194d3ed0d Add @rbri as a contributor 2024-07-25 13:06:14 +02:00
Andreas Dangel
41393d4637 [java] AccessorClassGeneration - handle default ctors
Fixes #5106
2024-07-25 13:05:47 +02:00
Andreas Dangel
6a242f019d [plsql] Fix CollectionTypeName parsing 2024-07-25 11:42:22 +02:00
Andreas Dangel
87b0c4f851 [plsql] Fix ScalarDataTypeName parsing
Fixes #5133
2024-07-25 11:17:49 +02:00
Andreas Dangel
5d39923c2f [core] Don't log warning about skipLexicalErrors twice (#5102)
Merge pull request #5102 from adangel:issue-5091-skipLexicalErrors
2024-07-25 10:28:22 +02:00
Andreas Dangel
a3f9d4af59 [java] Simplify UnusedPrivateMethodRule
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2024-07-25 09:57:20 +02:00
Andreas Dangel
1464cbca38 [java] Fix UnusedPrivateMethod for @lombok.Builder.ObtainVia (#5111)
Merge pull request #5111 from kdebski85:issue-5110-lombok-obtain-via
2024-07-23 20:11:23 +02:00
Andreas Dangel
597f3f37dc [doc] Update release notes (#5110, #5111) 2024-07-23 20:09:50 +02:00
Andreas Dangel
e8bfc0d01c [java] UnusedPrivateMethodRule - fixups from PR review 2024-07-23 20:05:11 +02:00
Andreas Dangel
607684c6cb Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/58
Fixes https://github.com/pmd/pmd/security/dependabot/59
Fixes CVE-2024-39908
Fixes https://github.com/advisories/GHSA-4xqq-m2hx-25v8
2024-07-23 19:36:53 +02:00
Krzysztof Debski
57e8954556 [java] Simplify processing of MethodSource annotation 2024-07-22 17:33:45 +02:00
Krzysztof Debski
121cdba3a4 [java] Make 'ASTAnnotation#flatValue' method static 2024-07-22 13:27:04 +02:00
Krzysztof Debski
9006dd1a89 [java] Generalize annotation handling in UnusedPrivateMethodRule 2024-07-22 13:22:24 +02:00
Juan Martín Sotuyo Dodero
b8a5793c26 Merge pull request #5127 from adangel/issue-2367-js-rename-inaccuratenumericliteral
[javascript] Rename rule InaccurateNumericLiteral
2024-07-19 12:16:51 -03:00
Andreas Dangel
bb08255aab [plsql] Fixed issue with missing optional table alias in MERGE usage (#5121)
Merge pull request #5121 from duursma:merge-fix
2024-07-19 16:23:36 +02:00
Andreas Dangel
f689822d19 [doc] Update release notes (#5121)
Refs #5086
2024-07-19 16:22:30 +02:00
Andreas Dangel
5fce65dbe1 [javascript] Rename rule InaccurateNumericLiteral
Fixes #2367
2024-07-19 15:54:28 +02:00
Andreas Dangel
01755015b7 Merge remote-tracking branch 'origin/master' 2024-07-19 15:17:39 +02:00
Juan Martín Sotuyo Dodero
edab792478 Merge pull request #5124 from adangel/issue-4716-js-inaccuratenumber
[javascript] Correctly determine double inaccuracy
2024-07-19 10:14:40 -03:00
Andreas Dangel
ba6f55073c Bump maven-pmd-plugin from 3.23.0 to 3.24.0 2024-07-19 14:49:53 +02:00
Andreas Dangel
4d2034ef0f [java] FP for UnusedPrivateMethod with Jakarta @PostConstruct/PreDestroy annotations (#5118)
Merge pull request #5118 from kdebski85:issue-5117-unused-private-method-jakarta
2024-07-19 14:48:03 +02:00
Andreas Dangel
f128bd7162 [doc] Update release notes (#5118, #5117) 2024-07-19 14:46:11 +02:00
Andreas Dangel
98710abade [java] Exclude constructor with lombok.Builder for MissingStaticMethodInNonInstantiatableClass (#5109)
Merge pull request #5109 from kdebski85:issue-5108-lombok-builder
2024-07-19 14:40:50 +02:00
Andreas Dangel
8462c75077 [doc] Update release notes (#5109, #1488) 2024-07-19 14:39:17 +02:00
Andreas Dangel
abe6a5fe4b Add @tomasvts as a contributor 2024-07-19 14:05:39 +02:00
Andreas Dangel
b176ca72c1 [javascript] Correctly determine double inaccuracy
Fixes #4716
2024-07-19 14:05:32 +02:00
Juan Martín Sotuyo Dodero
18c1ffc165 Merge pull request #5123 from adangel/bump-rhino-1.7.15
[javascript] Bump rhino from 1.7.14 to 1.7.15
2024-07-19 08:05:12 -03:00
Juan Martín Sotuyo Dodero
f28a3e6922 Merge pull request #5122 from adangel/issue-5120-cli-designer
[cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
2024-07-19 08:00:51 -03:00
Andreas Dangel
533979d60e [javascript] Bump rhino from 1.7.14 to 1.7.15 2024-07-19 11:31:34 +02:00
Andreas Dangel
8c7a5d0664 [cli] Fix pmd.bat for Windows when starting designer with JAVAFX_HOME
Fixes #5120
2024-07-19 10:17:27 +02:00
Arjen Duursma
0d6bb74756 Redo fix for merge without alias in table specification 2024-07-18 18:53:25 +02:00
Andreas Dangel
14238ee93e [doc] Fix release notes 2024-07-18 16:00:48 +02:00
Andreas Dangel
404a2ea77f [doc] Fix release notes 2024-07-18 12:37:32 +02:00
Andreas Dangel
d21d8a6286 Fix tests after merge 2024-07-18 12:17:05 +02:00
Andreas Dangel
669f883a99 [apex] Consider VariableDeclarationGroup in ApexTreeBuilder (#5099)
Merge pull request #5099 from adangel:apex-issue-5094
2024-07-18 12:10:21 +02:00
Andreas Dangel
6e8ce46f6c [apex] AvoidNonRestrictiveQueries: use new AnnotationParameter.hasName 2024-07-18 12:07:37 +02:00
Andreas Dangel
090bd1208b [apex] ApexUnitTestShouldNotUseSeeAllDataTrue: case-insensitive check (#5098)
Merge pull request #5098 from adangel:apex-issue-5095
2024-07-18 12:06:20 +02:00
Andreas Dangel
cf4df4bf13 [apex] New Rule: AvoidNonRestrictiveQueries (#5089)
Merge pull request #5089 from adangel:apex-issue-635-avoid-non-restrictive-queries
2024-07-18 12:02:21 +02:00
Andreas Dangel
ec92b39cf4 [apex] AvoidNonRestrictiveQueries fix FP with multiline queries 2024-07-18 11:47:31 +02:00
Andreas Dangel
2bfde98a53 [apex] Added Inner Classes to Apex Class Naming Conventions Rule (#5048)
Merge pull request #5048 from sgnl-labs:discreet-inner-class-name-check
2024-07-18 11:38:24 +02:00
Andreas Dangel
4ec05d0aa4 [doc] Update release notes (#5048, #4800) 2024-07-18 11:29:41 +02:00
Andreas Dangel
96b1e890e1 Add @justinstroudbah as a contributor 2024-07-18 11:26:06 +02:00
Andreas Dangel
bd4d8970b6 Fix tests after merge 2024-07-18 10:43:46 +02:00