19777 Commits

Author SHA1 Message Date
Andreas Dangel
5a8f8f06e7 Merge pull request #4280 from aaronhurst-google:deprecate-apex-version
[apex] Deprecate ApexRootNode.getApexVersion #4280
2023-01-14 11:00:53 +01:00
Andreas Dangel
8985c9dbf3 [doc] Update release notes (#4280) 2023-01-14 11:00:27 +01:00
Andreas Dangel
89b947bec5 Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/34
Fixes CVE-2022-46648
Fixes https://github.com/advisories/GHSA-pfpr-3463-c6jh
2023-01-10 12:21:27 +01:00
Andreas Dangel
6c336b37e4 Merge pull request #4285 from mluckam:elasticsearch_visiblefortesting
[java] CommentDefaultAccessModifier - add co.elastic.clients.util.VisibleForTesting as default suppressed annotation #4285
2023-01-10 10:26:00 +01:00
Andreas Dangel
11a33a536d [java] CommentDefaultAccessModifier - extend test case for junit5
Refs #3859
2023-01-10 10:24:47 +01:00
Andreas Dangel
60d46d4234 [doc] Update release notes (#4285) 2023-01-10 09:51:59 +01:00
Andreas Dangel
a388d8466f Add @mluckam as a contributor 2023-01-10 09:50:01 +01:00
Matthew Luckam
f6504a6875 add more accurate test description
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2023-01-09 10:17:47 -05:00
Matthew Luckam
de4fb8239f add co.elastic.clients.util.VisibleForTesting to collection of default
suppressed annotations for rule CommentDefaultAccessModifierRule
2023-01-09 10:17:37 -05:00
Aaron Hurst
0715bd91d5 Remove unused imports. 2023-01-05 13:39:17 +00:00
Aaron Hurst
f0137f2907 Deprecate ApexRootNode.getApexVersion.
Assume Apex version is >= V176.
2023-01-03 22:42:49 +00:00
Andreas Dangel
14b39cee83 Bump pmd from 6.52.0 to 6.53.0 2022-12-31 18:25:42 +01:00
Andreas Dangel
3cdf1f2c74 Prepare next development version [skip ci] 2022-12-31 18:23:24 +01:00
Andreas Dangel
6a6acb9b43 [maven-release-plugin] prepare for next development iteration 2022-12-31 18:22:10 +01:00
Andreas Dangel
37103451bf [maven-release-plugin] prepare release pmd_releases/6.53.0 pmd_releases/6.53.0 2022-12-31 18:22:04 +01:00
Andreas Dangel
349c89240a Prepare pmd release 6.53.0 2022-12-31 18:07:28 +01:00
Andreas Dangel
f0e113c376 Merge pull request #4274 from kdebski85:issue-4266-compact-constructor-with-lambda
[java] Fix finding lambda scope in record compact constructor #4274
2022-12-31 15:35:47 +01:00
Andreas Dangel
ebefb36c73 [doc] Update release notes (#4266, #4274) 2022-12-31 15:34:36 +01:00
Andreas Dangel
d0367d0248 Add @kdebski85 as a contributor 2022-12-31 15:33:00 +01:00
Andreas Dangel
62d789526a [java] DoNotUseThreads: more tests 2022-12-31 15:30:57 +01:00
Andreas Dangel
11867b0d3d Merge pull request #4265 from adangel:issue-4164-AvoidAssertAsIdentifier
[java][doc] AvoidAssertAsIdentifier and AvoidEnumAsIdentifier - clarify use case #4265
2022-12-31 15:13:19 +01:00
Andreas Dangel
3dd0f84ef6 Merge pull request #4264 from adangel:issue-4250-WhileLoopWithLiteralBoolean
[java] WhileLoopWithLiteralBoolean - don't limit to two bool literals #4264
2022-12-31 15:11:09 +01:00
Andreas Dangel
b81df9681e Merge pull request #4262 from adangel:issue-2127-deprecate-excessive-length-rules
[java] Deprecate rules ExcessiveClassLength and ExcessiveMethodLength #4262
2022-12-31 15:09:40 +01:00
Andreas Dangel
67230ed7b0 Merge pull request #4260 from adangel:issue-4166-UnusedPrivateField-annotations
[java] UnusedPrivateField - add new property reportForAnnotations #4260
2022-12-31 15:07:12 +01:00
Andreas Dangel
0dcefd174c Merge pull request #4249 from adangel:issue-4248-zip-files
[core] Use jar filesystem provider for zip files #4249
2022-12-31 15:05:09 +01:00
Andreas Dangel
15cba772ac Merge pull request #4247 from adangel:issue-4210-DoNotUseThreads-duplicated-violations
[java] DoNotUseThreads: Fix duplicated violations reporting #4247
2022-12-31 15:03:13 +01:00
Krzysztof Debski
c714806447 [java] Fix finding lambda scope in record compact constructor 2022-12-28 10:37:58 +01:00
Andreas Dangel
a76603b026 Merge pull request #4244 from Tarush-Singh35:#4146
[apex] ApexCRUDViolation: user mode and system mode with test cases added #4244
2022-12-19 16:17:45 +01:00
Andreas Dangel
2cdef852c5 [java][doc] AvoidAssertAsIdentifier and AvoidEnumAsIdentifier - clarify use case
Fixes #4164
2022-12-19 16:13:11 +01:00
Andreas Dangel
87c991f31d [java] DoNotUseThreads: Fix false negatives with field declarations
in anonymous classes
2022-12-19 15:55:22 +01:00
Andreas Dangel
c2de15e4c5 [java] WhileLoopWithLiteralBoolean - fix false positives 2022-12-19 15:26:43 +01:00
Andreas Dangel
d7bab260b3 [java] WhileLoopWithLiteralBoolean - don't limit to two bool literals
Fixes #4250
2022-12-17 19:58:47 +01:00
Andreas Dangel
8e72aaf9ab PR review fixups 2022-12-17 18:38:20 +01:00
Andreas Dangel
bef608058b [java] UnusedPrivateField - rename property "reportForAnnotations"
And other PR review fixups
2022-12-17 18:20:14 +01:00
Andreas Dangel
03db70602f [doc] Update release notes (#4146, #4244) 2022-12-16 19:19:59 +01:00
Andreas Dangel
4efbbdd41a Add @Tarush-Singh35 as a contributor 2022-12-16 19:19:36 +01:00
Andreas Dangel
930b77876b [apex] ApexCRUDViolation - support AccessLevel
Also support more DML methods: *async and *immediate
2022-12-16 18:58:31 +01:00
Andreas Dangel
93e768319c [apex] ApexCRUDViolation - no violation for explicit system mode 2022-12-16 17:45:58 +01:00
Andreas Dangel
637663212e [apex] ApexCRUDViolation - fix rule tests 2022-12-16 16:06:11 +01:00
Andreas Dangel
47128c8b99 Bump build-tools from 18 to 19 2022-12-15 18:45:04 +01:00
Tarush Singh
1ce1a2fcef Simple change in voilation check 2022-12-15 00:58:59 +05:30
Andreas Dangel
0f9a0f4876 [java] Update quickstart.xml - remove deprecated Excessive*Length rules 2022-12-09 20:37:44 +01:00
Andreas Dangel
7237d0c076 [doc] Consistently document deprecated and renamed rules 2022-12-09 20:37:23 +01:00
Andreas Dangel
e8510fa7da [java] Deprecate base class ExcessiveLengthRule 2022-12-09 20:32:58 +01:00
Andreas Dangel
330594d51d [java] Deprecate rules ExcessiveClassLength and ExcessiveMethodLength
Fixes #2127
2022-12-09 15:23:56 +01:00
Andreas Dangel
5a3ff840aa [java] UnusedPrivateField - add new property "annotations"
Fixes #4166
2022-12-08 19:03:29 +01:00
Andreas Dangel
9f5bd42d43 Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/31
Fixes CVE-2022-23476
Fixes https://github.com/advisories/GHSA-qv4q-mr5r-qprj
2022-12-08 11:41:02 +01:00
Andreas Dangel
124c4fd281 [doc] Update release notes (#4248) 2022-12-08 11:38:11 +01:00
Andreas Dangel
827221d874 [doc] Clarify documentation about analyzing zip files 2022-12-08 11:37:56 +01:00
Andreas Dangel
ce12835d36 Add integration tests for zip/jar files 2022-12-08 11:37:35 +01:00