20026 Commits

Author SHA1 Message Date
Andreas Dangel
0745789bb7 [apex] Remove deprecated rules from quickstart.xml, restore Test 2020-10-22 17:58:06 +02:00
Andreas Dangel
2f4079ed8f Merge branch 'pr-2842' into master
[core] Bump antlr4 from 4.7 to 4.7.2 #2842
2020-10-22 16:07:59 +02:00
Andreas Dangel
efa66ec83f [doc] Update release notes, refs #2842 2020-10-22 16:06:50 +02:00
Andreas Dangel
9aa9e8cd97 [core] ParserOptions: Remove unnecessary null check 2020-10-22 16:02:40 +02:00
Andreas Dangel
8def693545 [core] Fix incomplete filepath for rule violations
Refs #2807
2020-10-22 15:59:59 +02:00
Andreas Dangel
95acf2056e Bump antlr from 4.7 to 4.7.2 2020-10-22 14:35:05 +02:00
Andreas Dangel
7f70cac7ca Merge branch 'pr-2834' into master
[vf] Allow attributes with dot in Visualforce #2834
2020-10-22 09:48:36 +02:00
Andreas Dangel
90e7d09110 [doc] Update release notes, refs #2834, fixes #2765 2020-10-22 09:47:55 +02:00
Andreas Dangel
14d1f7a0d3 Merge branch 'pr-2831' into master
[core] Fix XMLRenderer newlines when running under IBM Java #2831
2020-10-22 09:44:20 +02:00
Andreas Dangel
115237940e Merge branch 'pr-2824' into master
[doc] Include deprecated rule references in documentation (Fixes #2823) #2824
2020-10-22 09:42:42 +02:00
Andreas Dangel
873564e69f Merge branch 'pr-2811' into master
[java] CloseResource - Fix #2764: False-negative when re-assigning variable #2811
2020-10-22 09:40:06 +02:00
Andreas Dangel
76e833376c [doc] Update release notes, refs #2811, fixes #2764 2020-10-22 09:38:49 +02:00
Jeff Bartolotta
98d0f0f38f Changes based on initial PR feedback
- Rename AvoidDatabaseMethodCallsInLoopsRule to OperationWithLimitsInLoop.
- Add AvoidDmlStatementsInLoopsRule, AvoidSoqlInLoopsRule, and AvoidSoslInLoopsRule checks into OperationWithLimitsInLoop.
- Deprecate AvoidDmlStatementsInLoopsRule, AvoidSoqlInLoopsRule, and AvoidSoslInLoopsRule in favor of OperationWithLimitsInLoop.
2020-10-21 11:25:20 -07:00
Clément Fournier
84061cf34b Remove useless method 2020-10-21 18:29:33 +02:00
Clément Fournier
604393d143 Fix report locations 2020-10-21 18:04:04 +02:00
Clément Fournier
c0d1fc112d Fix UnusedAssignment FP with field accesses 2020-10-21 17:50:27 +02:00
Clément Fournier
f00185e0fa Merge branch '7.0.x' into java-comments 2020-10-21 17:19:46 +02:00
Adrien Lecharpentier
8354ff2efe Bump antlr4 to 4.7.1
A security fix is included in this version. See https://github.com/antlr/antlr4/issues/2069.
2020-10-20 14:54:37 +02:00
Clément Fournier
c8da0b4b36 Fix tests expecting ES3
Default version is now ES 6 and unnamed
2020-10-19 22:32:15 +02:00
Clément Fournier
c27b421645 Fix PMD warnings 2020-10-18 03:22:07 +02:00
Clément Fournier
97a7fba762 Remove tests 2020-10-18 03:19:16 +02:00
Clément Fournier
a16aed50eb Remove JS parser options 2020-10-18 03:16:19 +02:00
Clément Fournier
dbf3f80853 Merge branch '7.0.x' into apex-remove-multifile 2020-10-18 02:57:34 +02:00
Clément Fournier
4dee15c8c3 Merge branch 'pmd7-test-cleanups' into 7.0.x
Refs #2807
2020-10-17 18:16:15 +02:00
Clément Fournier
17dc5d3861 Fix report locations 2020-10-17 16:59:33 +02:00
Clément Fournier
649ad99755 Remove some changes to RuleTst 2020-10-17 16:37:04 +02:00
Clément Fournier
36d6896221 Merge branch '7.0.x' into pmd7-test-cleanups 2020-10-17 16:28:39 +02:00
Clément Fournier
c35ee3d305 Merge branch '7.0.x' into java-comments 2020-10-17 16:22:16 +02:00
Andreas Dangel
5290102b96 [java] Add doc pointers for GLB and LUB 2020-10-17 11:19:32 +02:00
rmohan
7e7182b26d Modifying VF tokenizer test content to keep up with the minor grammar change
Streamlined IDENTIFIED_DOTTED logic. Added a couple more negative tests
2020-10-16 09:31:43 -07:00
Andreas Dangel
61acc52422 [core] XMLRenderer - remove unecessary initialization
Co-authored-by: Juan Martín Sotuyo Dodero <juansotuyo@gmail.com>
2020-10-16 14:38:45 +02:00
Andreas Dangel
b6473cc136 Merge branch 'pr-2800' into pmd/7.0.x
[java] Update MissingOverride to pmd 7 grammar #2800
2020-10-16 14:35:47 +02:00
Andreas Dangel
218863bc09 [ci] Update pmdtester 2020-10-16 12:42:12 +02:00
Andreas Dangel
38880bc774 [doc] Update release notes, fixes #2797 2020-10-16 12:06:47 +02:00
Andreas Dangel
c512e0069c Merge branch 'pmd/7.0.x' into pr-2800 2020-10-16 11:25:29 +02:00
Andreas Dangel
03bfcf8fd3 [ci] Update pmdtester - use master branch (1.1.0.pre.SNAPSHOT) 2020-10-16 11:12:28 +02:00
Andreas Dangel
e853f34164 [ci] Update Dangerfile
Create a report against the PR's base branch
and create a second report against master.
2020-10-16 11:10:16 +02:00
Andreas Dangel
e6103eef0d [ci] Update pmdtester
pmdtester is used temporarily from branch "filter-ruleset-single-rules"
in order to test it.
2020-10-16 11:10:09 +02:00
Andreas Dangel
ebc8187704 [ci] Update Dangerfile
Create a report against the PR's base branch
and create a second report against master.
2020-10-15 19:08:33 +02:00
Andreas Dangel
19f6835846 [ci] Update pmdtester
pmdtester is used temporarily from branch "filter-ruleset-single-rules"
in order to test it.
2020-10-15 19:08:28 +02:00
Andreas Dangel
7d58181264 Merge branch 'pmd/7.0.x' into pr-2800 2020-10-15 15:06:00 +02:00
Andreas Dangel
ebc0dd16f2 Change rule ref to renamed rule (DoNotTerminateVM) 2020-10-15 15:04:49 +02:00
Andreas Dangel
40a8ac6f5c Bump junit-vintage-engine from 5.6.2 to 5.7.0 2020-10-15 11:39:04 +02:00
Andreas Dangel
dd75d01a2a Bump junit from 4.13 to 4.13.1 2020-10-15 11:35:03 +02:00
Andreas Dangel
d626b9314e [ci] Support [skip ci] with github actions
See https://github.com/marketplace/actions/skip-based-on-commit-message
2020-10-15 11:28:46 +02:00
Andreas Dangel
b22bc05b4b [skip ci] [doc] Update release notes, refs #2831 2020-10-15 11:14:28 +02:00
Andreas Dangel
d8616cca55 [core] Fix XMLRenderer newlines when running under IBM Java 2020-10-15 10:59:56 +02:00
andi
77b183704f fix #2764: false-negative when re-assigning variable 2020-10-14 17:41:28 +02:00
Clément Fournier
9fc24fd037 Merge branch 'master' into 7.0.x 2020-10-13 23:06:27 +02:00
Clément Fournier
e3804da978 Update and rename DoNotTerminateVM.java to DoNotTerminateVMTest.java 2020-10-13 23:04:43 +02:00