985 Commits

Author SHA1 Message Date
Clément Fournier
94bcb0c31b Merge branch 'master' into 7.0.x 2020-07-06 13:09:40 +02:00
Andreas Dangel
1fb085f7ab Use StringUtils.equalsIgnoreCase 2020-07-03 11:58:38 +02:00
Andreas Dangel
147f1ac053 [apex] UnusedLocalVariable - false positive on case insensitivity allowed in Apex
Fixes #2626
2020-07-02 22:39:17 +02:00
Andreas Dangel
95d8e80c1b [maven-release-plugin] prepare for next development iteration 2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be [maven-release-plugin] prepare release pmd_releases/6.25.0 2020-06-27 11:31:16 +02:00
Andreas Dangel
5c0bc8d362 Merge branch 'master' into pmd/7.0.x 2020-06-26 18:30:03 +02:00
Andreas Dangel
acbbbee685 Merge branch 'pr-2608'
[apex][plsql][java] Deprecate base rule classes #2608
2020-06-26 18:01:30 +02:00
Andreas Dangel
00dbe08282 Merge branch 'pmd/7.0.x' into pr-2490 2020-06-26 10:58:18 +02:00
Andreas Dangel
891010468a Merge branch 'master' into pmd/7.0.x 2020-06-21 12:00:32 +02:00
Andreas Dangel
23c08b52b2 [apex] Internalize ApexParser and ApexHandler 2020-06-20 19:28:48 +02:00
Andreas Dangel
a19e50a804 [apex] Deprecate overly specific base rule classes
Refs #971
2020-06-20 12:01:38 +02:00
Clément Fournier
5b7ed588ea Make CPD end column exclusive
This is to align it with PMD columns,
which in 7.0 are already exclusive.
2020-06-19 02:21:45 +02:00
Clément Fournier
c49d9e315f Merge branch 'master' into 7.0.x 2020-06-19 01:32:32 +02:00
Andreas Dangel
534bfe3c55 Merge branch 'pr-2572'
[cpd] Allow CPD tests based on a text dump #2572
2020-06-18 20:09:58 +02:00
Andreas Dangel
ff6075135f Merge branch 'master' into pmd/7.0.x 2020-06-18 15:22:37 +02:00
Andreas Dangel
45d3c07201 Merge branch 'pr-2556'
[apex] Exception applying rule UnusedLocalVariable on trigger #2556
2020-06-18 15:01:25 +02:00
Clément Fournier
2592c56229 Make apex end column inclusive 2020-06-17 20:03:16 +02:00
Clément Fournier
8e47ed3188 Merge branch 'master' into cpd-text-comp 2020-06-17 20:00:50 +02:00
Clément Fournier
47667a0e35 Merge branch '7.0.x' into type-heap 2020-06-14 21:42:38 +02:00
Clément Fournier
d631b79307 Deprecate stuff for #2491 2020-06-14 21:36:33 +02:00
Clément Fournier
d3d75fa0b9 Merge branch '7.0.x' into apex-single-rootnode-2 2020-06-14 19:04:45 +02:00
Clément Fournier
fb0819f319 Convert Apex tests 2020-06-14 00:29:58 +02:00
Andreas Dangel
c3219b91c5 Merge branch 'master' into pmd/7.0.x 2020-06-12 14:21:10 +02:00
Andreas Dangel
8defb2fde2 Add missing relativePath configuration in all pom modules 2020-06-07 12:36:58 +02:00
Andreas Dangel
c680b260b9 [apex] Exception applying rule UnusedLocalVariable on trigger
Fixes #2554
2020-05-30 11:08:44 +02:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
2dae9c085f Merge branch 'master' into pmd/7.0.x 2020-05-23 11:42:20 +02:00
Andreas Dangel
e1cd3b4c8d Merge branch 'pr-2487'
[all] Cleanup rule test xml #2487
2020-05-22 19:41:01 +02:00
Andreas Dangel
6049126228 Merge branch 'pr-2465'
[dependencies] Upgrade hamcrest, mockito and JUnit #2465
2020-05-22 11:46:04 +02:00
Clément Fournier
584ccc806b Remove useless implements Node 2020-05-18 16:21:04 +02:00
Clément Fournier
e198b6afb5 Fix tests 2020-05-18 16:08:25 +02:00
Clément Fournier
00a2497c9d Make apex version available 2020-05-18 16:08:25 +02:00
Clément Fournier
39ff1145c4 Remove apex CanSuppressWarnings 2020-05-18 16:08:25 +02:00
Clément Fournier
e248bac57b Make apex have a single root node 2020-05-18 16:08:25 +02:00
Clément Fournier
dfb1c2f080 Simplify apex parser 2020-05-18 16:08:25 +02:00
Clément Fournier
eccf354861 Replace usages of addRulechainVisit 2020-05-18 15:53:44 +02:00
Clément Fournier
43f6fec88b doc 2020-05-18 14:57:55 +02:00
Clément Fournier
7126fd6c94 cleanup 2020-05-18 14:57:55 +02:00
Clément Fournier
8f13dd82f0 Replace Node#apply(List<Node>) with apply(Node) 2020-05-18 14:57:54 +02:00
Clément Fournier
9af5268605 Cleanup 2020-05-18 14:57:54 +02:00
Clément Fournier
cc23b61b03 Improve test XML schema 2020-05-18 14:57:54 +02:00
Clément Fournier
60d276c2a0 Remove old rulechain impl 2020-05-18 14:57:53 +02:00
Andreas Dangel
f930491538 [apex] Cleanup rule test xml files
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:55:58 +02:00
Clément Fournier
b3db34042f Merge branch 'master' into 7.0.x 2020-05-13 17:47:21 +02:00
Gwilym Kuiper
3571608234 Handle chained method calls.
This wasn't working because they had a null image. Turns out that nodes
have a method called `hasImageEqualTo` which handles the null case for
us.
2020-05-06 11:26:14 +01:00
Gwilym Kuiper
acbf53e8ab Variable is used if method is called on it 2020-05-06 11:11:13 +01:00
Artem Krosheninnikov
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
Andreas Dangel
522e98b65f Merge branch 'pr-2446'
[core] Update maven-compiler-plugin to 3.8.1 #2446
2020-04-30 19:29:38 +02:00
Clément Fournier
bd835c0bb5 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-29 09:19:00 +02:00