17301 Commits

Author SHA1 Message Date
Andreas Dangel
9b81f94338 [ci] Update travis build badge
After move to travis-ci.com
2020-10-27 15:34:38 +01:00
Clément Fournier
ddcf3536b4 Update release notes, refs #1939 2020-10-26 18:32:53 +01:00
Clément Fournier
27441ae3dc Document #1938 in migration guide 2020-10-26 18:32:42 +01:00
Clément Fournier
0a4dd810c9 Test remaining cases of #1938 2020-10-26 17:57:42 +01:00
Clément Fournier
7a8ca28c3f Check result of / expression
Refs #1938
2020-10-26 17:54:33 +01:00
Clément Fournier
c21784843c Check XPath expression result for correct type
Fixes #1939
2020-10-26 17:47:48 +01:00
Clément Fournier
a95c67c31e Upgrade to kotlin 1.4.1 and kotest 4.3.0 2020-10-26 17:08:08 +01:00
Andreas Dangel
40cc666507 (dogfood) Bump pmd from 6.28.0 to 6.29.0 2020-10-24 11:38:15 +02:00
Andreas Dangel
21e13e8f55 Prepare next development version 2020-10-24 10:19:00 +02:00
Andreas Dangel
4837c8dbc8 [maven-release-plugin] prepare for next development iteration 2020-10-24 10:17:24 +02:00
Andreas Dangel
81f12d3e5d [maven-release-plugin] prepare release pmd_releases/6.29.0 pmd_releases/6.29.0 2020-10-24 10:17:15 +02:00
Andreas Dangel
561e7a8c61 Prepare pmd release 6.29.0 2020-10-24 10:06:54 +02:00
Andreas Dangel
df957ad053 Merge branch 'pr-2863' into master
[apex] Add support for Safe Navigation Operator (v50, Winter 21) #2863
2020-10-24 09:48:51 +02:00
Andreas Dangel
cfb21d226a Merge branch 'pr-2866' into master
[java] (doc) Fix example for CouplingBetweenObjects #2866
2020-10-23 09:02:42 +02:00
Andreas Dangel
0aafd30d61 Merge branch 'pr-2865' into master
[java] (doc) Update ExcessiveImports example code for clarity #2865
2020-10-23 09:00:52 +02:00
Gustavo Krieger
ccb7fd25aa Programming correction in docs
Docs of CouplingBetweenObjects has a Programming issue. I also made "something" a method.
2020-10-22 19:46:46 -03:00
Gustavo Krieger
151400d95b Update ExcessiveImports example code for clarity
Since the default minimum is 30, I believe it would make more sense if the comment said "28" instead of "18".
2020-10-22 19:38:40 -03:00
Andreas Dangel
b0f3f37e9d [doc] Update release notes, refs #2839 2020-10-22 20:06:20 +02:00
Andreas Dangel
e7738e2b4c [apex] Add support and test for parsing SafeNavigationOperator
Refs #2839
2020-10-22 20:02:51 +02:00
Andreas Dangel
9eeea472ac [apex] Update apex-jorje to 2020-09-10-5a5192 (Winter 21, Version 50)
Fixes #2839
2020-10-22 19:13:35 +02:00
Andreas Dangel
47d3e1b9f9 Merge branch 'pr-2816' into master
[apex] Detect 'Database' method invocations inside loops #2816
2020-10-22 18:08:28 +02:00
Andreas Dangel
888fe3b15e [doc] Update release notes, refs #2816, fixes #1713 2020-10-22 18:07:01 +02:00
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
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
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
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
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
e3804da978 Update and rename DoNotTerminateVM.java to DoNotTerminateVMTest.java 2020-10-13 23:04:43 +02:00
Clément Fournier
b80c78d638 Merge branch 'pr-2829' into master
Refs #2829
2020-10-13 22:58:45 +02:00
Clément Fournier
d17eb44fc6 Update release notes, refs #2829 2020-10-13 22:58:04 +02:00
Gustavo Krieger
afc0c3fe78 Small correction in pmd_report_formats.md 2020-10-13 16:51:53 -03:00
Andreas Dangel
a08985c762 [ci] Fix Dangerfile 2020-10-10 17:25:03 +02:00
Andreas Dangel
69a3914a77 [doc] Renamed/Moved rules are missing in documentation (Fixes #2823)
Include deprecated rule references conditionally
when loading rulesets via RuleSetFactory
2020-10-10 17:02:13 +02:00
Andreas Dangel
92bab9b595 pmd-doc: Add test case for renamed rules
Uses the pattern documented in rule deprecation policy.
The rule reference should be deprecated to get a deprecation
warning, if it is still used.
2020-10-10 16:29:33 +02:00
Andreas Dangel
76190f7d37 Revert "Fix release notes"
This reverts commit ec2b3d873b6b16a3b3a6ac5dc639d122b9820e82.
2020-10-10 16:11:04 +02:00