18936 Commits

Author SHA1 Message Date
Andreas Dangel
d94f85f443 Add @VoidxHoshi as a contributor 2022-04-28 15:01:16 +02:00
Andreas Dangel
0af3883607 [doc] Update release notes (#3603, #3938) 2022-04-28 15:00:55 +02:00
LaLucid
f29770f968 Use a more clear XPath form
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-27 05:47:07 +08:00
LaLucid
e951d6df8f Use a more clear XPath form to replace the former 2022-04-27 04:07:02 +08:00
LaLucid
3841e7d0c9 Revert the original XPath 2022-04-25 06:50:56 +08:00
LaLucid
f1a2a77e64 modify the SimplifiedTernary test 2022-04-25 03:31:19 +08:00
LaLucid
56cc9fc163 make the description simple 2022-04-25 02:35:34 +08:00
LaLucid
38d3c091d0 Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-25 02:27:26 +08:00
LaLucid
28a454d155 Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2022-04-25 02:25:18 +08:00
HoshiNoMei
996f81ccce Modify the rule to meet the missing case 2022-04-24 23:36:46 +08:00
Andreas Dangel
24f4b2ecb6 [ci] Fix maven-pmd-plugin configuration 2022-04-22 08:20:46 +02:00
Andreas Dangel
23997a15d7 Fix pmd dogfood - ClassWithOnlyPrivateConstructorsShouldBeFinal 2022-04-21 21:06:31 +02:00
Andreas Dangel
764920f61f Fix unit test under Windows 2022-04-21 17:14:11 +02:00
Andreas Dangel
9b2a92bc52 Merge pull request #3921 from oowekyala:issue3068-mock-rules-for-cli-tests
[java] Make cli tests use dummy rules #3921
2022-04-21 16:55:29 +02:00
Andreas Dangel
ab1cb6d0e9 Merge pull request #3910 from laoseth:master
[java] UnusedPrivateField - Allow the ignored fieldnames to be configurable #3910
2022-04-21 16:52:36 +02:00
Andreas Dangel
29175e0c90 [doc] Update release notes (#3910) 2022-04-21 16:51:58 +02:00
Andreas Dangel
e1868543ad Merge branch 'master' into pr-3910 2022-04-21 16:49:49 +02:00
Andreas Dangel
dc4894d0f5 Add @laoseth as a contributor 2022-04-21 16:45:30 +02:00
Andreas Dangel
455cd962eb Update docs/pages/release_notes.md 2022-04-21 16:43:29 +02:00
Andreas Dangel
b0f349085d Merge pull request #3896 from oowekyala:fix-dump-cli
[core] Fix ast-dump CLI when reading from stdin #3896
2022-04-21 16:41:51 +02:00
Andreas Dangel
8e0eac97bc Fix unit test 2022-04-21 16:30:13 +02:00
Andreas Dangel
cfc981fc8e [doc] Update release notes (#3896) 2022-04-21 16:22:18 +02:00
Andreas Dangel
bb564be0b1 [core] AbstractParser.setFileName is InternalApi 2022-04-21 16:21:48 +02:00
Andreas Dangel
aa50b6f28c Merge branch 'master' into pr-3896 2022-04-21 16:19:38 +02:00
Andreas Dangel
a6d8c1b646 Merge pull request #3928 from LiGaOg:master
[plsql] Fix plsql parsing error in parenthesis groups #3928
2022-04-21 11:32:41 +02:00
Andreas Dangel
cb4b981fdd Add @LiGaOg as a contributor 2022-04-21 11:29:53 +02:00
Andreas Dangel
ebbc017363 [doc] Update release notes (#3706, #3928) 2022-04-21 11:29:26 +02:00
Andreas Dangel
f5be685068 [plsql] Convert ParenthesisGroupTest to be a tree dump test 2022-04-21 11:26:30 +02:00
李家奥
17ff1b7ffb fix one error in ParenthesisGroup0.pls 2022-04-21 14:47:08 +08:00
李家奥
2667b421c1 add junit test cases 2022-04-20 14:37:11 +08:00
Clément Fournier
9513c505fb checkstyle 2022-04-19 00:30:20 -06:00
Clément Fournier
8277fd2064 Update release notes, refs #3910 2022-04-19 00:30:20 -06:00
Clément Fournier
6f12ed1322 Stop ignoring name "IDENT" 2022-04-19 00:30:20 -06:00
Seth Wilcox
aab240bc2d Allow the ignored fieldnames in the Unused Private Field check to be configurable. The current hardcoded defaults handle the fields needed for java serialization, but this isn't documented, and having this be configurable, as well as explicitly documented can be helpful. For example, our default new file template always creates a logger for every file, and I would prefer to have the logger there unused for future use, rather than having to pull it when not used 2022-04-19 00:30:20 -06:00
李家奥
5958b928dc [plsql] Fix parsing exception 2022-04-19 11:03:29 +08:00
Clément Fournier
cdf4944865 Checkstyle 2022-04-15 20:05:04 +02:00
Clément Fournier
afc43191dc update release notes 2022-04-15 19:55:35 +02:00
Clément Fournier
367c6cf54a Update JS module 2022-04-15 19:54:31 +02:00
Clément Fournier
c778266294 Update java/CLITest 2022-04-15 19:41:39 +02:00
Clément Fournier
359225ca37 Update ExcludeLinesTest 2022-04-15 19:34:55 +02:00
Clément Fournier
715442b66b Update java/PMDTaskTest to use mocked rules 2022-04-15 19:31:56 +02:00
Clément Fournier
be2618b66b Merge branch 'pr/3886'
Ref #3886
2022-04-15 14:46:30 +02:00
Clément Fournier
28168ac27e Merge branch 'master' into pr/3886 2022-04-15 14:46:22 +02:00
Andreas Dangel
45cb0a0a35 [ci] Fix pmd-regression-tester calls for PRs against pmd/7.0.x
In that case, we should run the regression tests against master
with the same ruleset as used for pmd/7.0.x in the previous
run.
2022-04-12 19:20:56 +02:00
Andreas Dangel
654c8bdb14 Merge pull request #3883 from jasonqiu98:master
[doc] Improve side bar by Adding Release Date #3883
2022-04-12 17:06:51 +02:00
Andreas Dangel
95a3eaf90f Add @jasonqiu98 as a contributor 2022-04-12 16:56:32 +02:00
Andreas Dangel
aa4e76cb71 [doc] Update release notes (#2505, #3883) 2022-04-12 16:55:55 +02:00
Andreas Dangel
d09a48ad5f Update regression-tester and other gems
pmd-tester 1.4.1
nokogiri 1.13.4

Fixes the following security alerts:
- Out-of-bounds Write in zlib affects Nokogiri
- XML Injection in Xerces Java affects Nokogiri
- Inefficient Regular Expression Complexity in Nokogiri
- Denial of Service (DoS) in Nokogiri on JRuby
2022-04-12 12:17:01 +02:00
Andreas Dangel
d3211dbbf0 Merge pull request #3889 from adangel:noclassdeffound-uselessoverridingrule
[java] Catch LinkageError in UselessOverridingMethodRule #3889
2022-04-12 12:10:34 +02:00
Andreas Dangel
4f2e075521 Merge pull request #3887 from adangel:sarif-encoding
[core] Use always UTF-8 encoding for SARIF #3887
2022-04-12 11:50:24 +02:00