18287 Commits

Author SHA1 Message Date
Andreas Dangel
875ae1b544 [doc] Use green theme, adjust coloring to match PMD Logo green 2020-09-17 11:13:35 +02:00
Andreas Dangel
4012bb077e [doc] Add new logo to README.md
Note: this references the pmd/7.0.x branch and needs to be
switched to master, once PMD 7 is released.
2020-09-17 11:02:02 +02:00
Andreas Dangel
43e6bbe428 [doc] Add new logo in the documentation, remove old logo images 2020-09-17 10:57:22 +02:00
Andreas Dangel
35481bda4b Merge branch 'pr-2753' into pmd/7.0.x
[cpd] Remove some generated source files we don't use #2753
2020-09-13 11:41:58 +02:00
Andreas Dangel
47ab1f34a4 Delete old antlr4 package-infos 2020-09-13 11:41:26 +02:00
Andreas Dangel
4732164a45 Merge branch 'pmd/7.0.x' into pr-2753 2020-09-13 11:40:23 +02:00
Andreas Dangel
3caa6dd0ba Merge branch 'master' into pmd/7.0.x 2020-09-13 11:39:37 +02:00
Andreas Dangel
7a1e3caba0 Add deprecations for antlr lexers that will be moved with PMD 7
Refs pmd/pmd#2753
2020-09-13 11:28:07 +02:00
Andreas Dangel
9cfe485888 Merge branch 'pr-2746' into pmd/7.0.x
[core, ...] Finish generic visitors #2746

Fixes #880
2020-09-13 09:49:14 +02:00
Andreas Dangel
5bcdee24f5 Fix PLSQL Tests due to different rule violation sorting 2020-09-13 09:47:00 +02:00
Andreas Dangel
7605a669a7 Merge branch 'pr-2742' into pmd/7.0.x
[core] Remove deprecated things about rules #2742
2020-09-13 09:22:02 +02:00
Andreas Dangel
4772817171 Merge branch 'master' into pmd/7.0.x 2020-09-13 09:19:52 +02:00
Andreas Dangel
04592c8038 [core] Deprecate RuleReference#getOverriddenLanguage() and #setLanguage()
Refs #2742
2020-09-13 09:18:34 +02:00
Clément Fournier
7a63ec3bd4 Fix java tests 2020-09-13 02:18:17 +02:00
Clément Fournier
f5e4a0f81c Merge branch 'master' into 7.0.x 2020-09-13 01:49:45 +02:00
Andreas Dangel
dacfff1abf Merge branch 'pr-2758' into master
[cpd] Improve AnyTokenizer #2758
2020-09-12 19:25:47 +02:00
Andreas Dangel
d261f44696 [doc] Update release notes, refs #2758, fixes #2760 2020-09-12 19:24:34 +02:00
Andreas Dangel
3f69e9188b [core] AnyTokenizer: add TODO for PMD7 2020-09-12 19:14:00 +02:00
Andreas Dangel
5192fdc0f9 [core] AnyTokenizer: Add testcase to verify #2760 is fixed 2020-09-12 19:13:43 +02:00
Andreas Dangel
53f3759ede Merge branch 'pr-2776' into master
Bump actions/setup-java from v1.4.0 to v1.4.2 #2776
2020-09-12 18:42:24 +02:00
Clément Fournier
a8ad1ac4f6 Remove RuleViolationComparator 2020-09-12 14:39:01 +02:00
Clément Fournier
d69e27c5b7 Merge branch '7.0.x' into remove-more-deprecated-things 2020-09-12 14:35:22 +02:00
Clément Fournier
57c25685b6 Merge branch 'master' into 7.0.x 2020-09-12 14:35:06 +02:00
dependabot[bot]
72f9d0f90a Bump actions/setup-java from v1.4.0 to v1.4.2
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.0 to v1.4.2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.0...8bb50d97d6b4d316daf284fdf8eafbfc988421fc)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 10:46:46 +00:00
Andreas Dangel
352760c09c [ci] Fix dependabot schedule interval 2020-09-12 12:45:52 +02:00
Andreas Dangel
516fa5e01a Merge branch 'pr-2735' into master
[ci] Add github actions for a fast view of pr succeed/not #2735
2020-09-12 12:14:37 +02:00
Andreas Dangel
c3b5e1a5c1 [doc] Update release notes, refs #2735 2020-09-12 12:13:44 +02:00
Andreas Dangel
b247d616d9 [ci] github actions: Build on push and pull requests 2020-09-12 12:13:28 +02:00
Andreas Dangel
2093f6c82a [ci] dependabot: don't open PRs for maven dependencies
We might enable this for PMD 7 later
2020-09-12 12:13:04 +02:00
Andreas Dangel
66a97f6686 Merge branch 'pr-2741' into master
[core] Deprecate ruleviolation comparator #2741
2020-09-12 11:51:19 +02:00
Andreas Dangel
d039605747 [doc] Mention replacement for deprecated RuleViolationComparator 2020-09-12 11:51:11 +02:00
Andreas Dangel
606d25de82 Merge branch 'pr-2761' into master
[java] Fix #2759, UnusedAssignment false positive #2761
2020-09-12 11:37:09 +02:00
Andreas Dangel
20d48caa65 [doc] Update release notes, fixes #2759 2020-09-12 11:36:20 +02:00
Clément Fournier
53999c2d96 Merge branch 'master' into 7.0.x 2020-09-12 02:50:54 +02:00
Andreas Dangel
9ed79f46fd Merge branch 'pr-2770' into master
[java] Fix #2767, PMD cannot parse a local var with final in instance initializer #2770
2020-09-11 17:52:25 +02:00
Andreas Dangel
a13f88de5f [doc] Update release notes, fixes #2767 2020-09-11 17:51:36 +02:00
Andreas Dangel
6af4f1ecea Merge branch 'pr-2771' into master
[java] Fix #2756, NPE in TypeTestUtil #2771
2020-09-11 17:40:43 +02:00
Andreas Dangel
4f53b77045 [doc] Update release notes, fixes #2756 2020-09-11 17:40:04 +02:00
Andreas Dangel
d752b2c424 Merge branch 'pr-2773' into master
[java] issue-2738: Adding null check to avoid npe when switch case is default #2773
2020-09-11 17:15:03 +02:00
Andreas Dangel
7cea1d684c [doc] Update release notes, fixes #2738, refs #2773 2020-09-11 17:02:40 +02:00
Andreas Dangel
2d0d098d2c [java] Add test case for #2738 2020-09-11 16:59:16 +02:00
Nimit
fedea535b5 issue-2738: Adding null check to avoid npe when switch case is default 2020-09-10 19:19:43 -07:00
Clément Fournier
46933e666d Fix #2756, NPE in TypeTestUtil 2020-09-10 12:49:45 +02:00
Clément Fournier
fc759db5ca Fix #2767
Problem was the stack is empty if the local var declaration
is the first node of the compilation unit to be pushed.
2020-09-10 12:24:03 +02:00
Clément Fournier
507445ecd8 Merge branch '7.0.x' into remove-more-deprecated-things 2020-09-06 22:19:20 +02:00
Clément Fournier
7be569fa8b Merge branch 'master' into 7.0.x 2020-09-06 18:57:21 +02:00
Clément Fournier
d6ba977bb8 Merge branch 'ollieabbey-master' into master
Refs #2747
2020-09-06 18:32:56 +02:00
Clément Fournier
bcb04df160 Merge branch 'master' into ollieabbey-master 2020-09-05 18:38:44 +02:00
Clément Fournier
dddbaf0a6a Merge branch 'master' into deprecate-rv-comparator 2020-09-03 12:17:05 +02:00
Clément Fournier
b0f924495b Fix bug
Problem was, isInTryBlock didn't ask for parent
states, even though abruptCompletionByThrow does.
2020-09-03 12:13:37 +02:00