1026 Commits

Author SHA1 Message Date
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
Artem Krosheninnikov
2b882e8655 fix issue #2594, update exec-maven-plugin everywhere 2020-06-18 00:48:57 +03: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
Clément Fournier
bb9341ed7c Merge branch 'master' into 7.0.x 2020-04-28 08:24:56 +02:00
Andreas Dangel
4192f04c1d [apex] clarify AvoidGlobalModifier, refs #2298 2020-04-27 19:41:33 +02:00
Clément Fournier
1bb7e3d6e7 Checkstyle 2020-04-26 21:44:36 +02:00
Clément Fournier
7e10867973 Fix apex module 2020-04-26 21:38:38 +02:00
Clément Fournier
1a6d7b393c Add a type parameter to AbstractNode 2020-04-26 19:04:31 +02:00
Clément Fournier
13e414c73d Add insertChild 2020-04-26 18:28:47 +02:00
Clément Fournier
7028157808 Ensure Parser returns a RootNode 2020-04-26 17:29:27 +02:00
Clément Fournier
24a9bf5df6 Merge branch '7.0.x' into cleanup-abstract-node 2020-04-26 17:03:28 +02:00
Artem Krosheninnikov
3a72f3c4fa update maven-compiler-plugin to 3.8.1 and remove workaround for a bug in IDEA that was closed 2020-04-26 14:27:37 +03:00