24379 Commits

Author SHA1 Message Date
Clément Fournier
dcc3dd5654 core: share test classes with ant module
This is to avoid duplicating dummy language module and dummy rules
2022-08-09 20:51:07 +02:00
Clément Fournier
537a7e203a ant: create pmd-ant module 2022-08-09 20:35:36 +02:00
Clément Fournier
10698508ae Merge branch 'pr/4057' into 7.0.x 2022-07-26 19:18:30 +02:00
Clément Fournier
131cb3a120 Merge branch '7.0.x' into pr/4057 2022-07-26 18:39:49 +02:00
Clément Fournier
7809dcc228 Merge branch 'pmd7-delete-old-typeres' into 7.0.x 2022-07-26 17:13:29 +02:00
Clément Fournier
ceddb93fb5 [java] Cleanup in designer bindings 2022-07-26 16:43:45 +02:00
Clément Fournier
9602343b0b [java] improve test coverage a bit 2022-07-26 16:39:31 +02:00
Clément Fournier
6688165ee3 [java] Delete old typeres 2022-07-26 16:02:05 +02:00
Andreas Dangel
41eb096dbd Merge branch 'master' into pmd/7.0.x 2022-07-25 20:07:11 +02:00
Andreas Dangel
0550512a63 Merge pull request #4061 from matthargett:fortify-lua-grammar
[lua] Fix several related Lua parsing issues found when using CPD #4061
2022-07-25 20:01:04 +02:00
Andreas Dangel
b000b077ca [doc] Update release notes (#4061) 2022-07-25 20:00:00 +02:00
Andreas Dangel
c583031a18 Add @matthargett as a contributor 2022-07-25 19:59:52 +02:00
Andreas Dangel
73a7ed98ca Merge pull request #4056 from gwilymatgearset:add-support-for-soql-injection-detection-in-count-query
[apex] ApexSOQLInjection: Add support count query #4056
2022-07-25 19:44:53 +02:00
Andreas Dangel
f121ad1526 [doc] Update release notes (#4056) 2022-07-25 19:43:59 +02:00
Andreas Dangel
618790613f [apex] Small fixups 2022-07-25 19:42:02 +02:00
Andreas Dangel
fb9762877f Merge pull request #4053 from Monits:qol
[core] Allow building PMD under Java 18+ #4053
2022-07-25 19:04:22 +02:00
Andreas Dangel
49835cb990 [doc] Update release notes (#4053) 2022-07-25 19:03:45 +02:00
Matt Hargett
b189d07a15 Fix another superflous ws 2022-07-24 13:41:37 -07:00
Matt Hargett
5dc75e720b Remove superfluous whitespace' 2022-07-24 13:31:24 -07:00
Matt Hargett
8fa558e754 Add explaining comment, cleanup inconsistent fragment formatting 2022-07-24 13:26:37 -07:00
Matt Hargett
54918a7097 Comments have to go to HIDDEN channel so that suppression comments will work. 2022-07-24 13:19:21 -07:00
Matt Hargett
f7f449ca2b Luau benchmarks and conformance suite all analyze fine, update test suite comment. 2022-07-24 13:09:30 -07:00
Matt Hargett
08cc6a1c5c World of Warcraft Lua uses a few non-standard escape patterns, which are easy enough to add and shouldn't introduce any confusions with errors messages on other dialects. 2022-07-24 13:04:14 -07:00
Matt Hargett
50b06f37bc Fortify the Lua parser to fix parse error in several OSS Lua codebases when trying to use CPD. 2022-07-24 12:58:49 -07:00
Andreas Dangel
a24628f6e1 Fix PMD issues 2022-07-23 20:16:18 +02:00
Andreas Dangel
27de000420 Merge branch 'master' into pmd/7.0.x 2022-07-23 20:01:58 +02:00
Andreas Dangel
907c0722b3 Merge pull request #4058 from oowekyala:pmd6-focused-test-attr
[test-schema] Add focused attr to the test schema #4058
2022-07-23 19:15:20 +02:00
Andreas Dangel
2f3f0d6960 [java] Refactor RegexpAcceptanceTest 2022-07-22 21:06:30 +02:00
Andreas Dangel
bc7bbed1b4 [test] Remove unused code from RuleTst 2022-07-22 21:06:21 +02:00
Andreas Dangel
cb5acd6389 [java] Remove usages of reinitializeRule and useAuxClasspath in rule tests
(#3976 / #3302)
2022-07-22 21:03:35 +02:00
Andreas Dangel
d9984ec92f [test] Document deprecated attribute useAuxClasspath in schema 2022-07-22 21:01:25 +02:00
Clément Fournier
c1b8d6a5d8 Fix PMD warning 2022-07-22 17:30:54 +02:00
Clément Fournier
ee5fa8ee94 Update docs 2022-07-22 15:05:07 +02:00
Clément Fournier
db430e64c5 add deprecations 2022-07-22 15:03:20 +02:00
Clément Fournier
8065929879 Add impl to parse focused attr 2022-07-22 14:43:30 +02:00
Clément Fournier
34acac180c Add focused attr to the schema 2022-07-22 14:15:37 +02:00
Andreas Dangel
4308aafe92 Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/22
TZInfo relative path traversal vulnerability allows loading of arbitrary files
CVE-2022-31163
https://github.com/advisories/GHSA-5cm2-9h8c-rvfx
2022-07-22 14:14:12 +02:00
Andreas Dangel
2f1462b621 [core] Fix lazy init for allSuppressors in DefaultRuleViolationFactory
Fixes #4035
2022-07-22 12:23:13 +02:00
Andreas Dangel
8bf54b8a68 Merge branch 'master' into pmd/7.0.x 2022-07-21 23:41:40 +02:00
Andreas Dangel
f13b212736 [test] Fix TestSchemaParser.Reporter: ClassWithOnlyPrivateConstructorsShouldBeFinal 2022-07-21 23:27:55 +02:00
Andreas Dangel
3140cadb80 Fix test 2022-07-21 22:30:44 +02:00
Andreas Dangel
b6b58bf302 Merge branch 'master' into pmd/7.0.x 2022-07-21 22:06:34 +02:00
Andreas Dangel
9aa8694c26 Merge branch 'pr-3976' into pmd/7.0.x 2022-07-21 21:58:43 +02:00
Andreas Dangel
6d8c811403 [test] Correctly report available property names 2022-07-21 21:55:07 +02:00
Andreas Dangel
12516ff035 Fix deprecated attribute usage "regressionTest" 2022-07-21 21:25:33 +02:00
Andreas Dangel
a8efa19d61 Merge pull request #3976 from oowekyala:pmd6-extract-test-schema-module
[test] Extract xml schema module #3976
2022-07-21 21:16:12 +02:00
Andreas Dangel
bed3b17917 [doc] Update release notes (#3758, #3976) 2022-07-21 20:28:28 +02:00
Andreas Dangel
bc1dd85f3b [test] Rename ignored -> disabled 2022-07-21 20:07:41 +02:00
Andreas Dangel
6471faa253 Fix pom parent ref 2022-07-21 19:44:53 +02:00
Andreas Dangel
d09f981ce5 Merge branch 'master' into pr-3976 2022-07-21 19:10:13 +02:00