1915 Commits

Author SHA1 Message Date
Andreas Dangel
364c23cbe1 [core] Add warnings for duplicated rule references in rulesets
Fixes #2006
2019-12-18 12:48:31 +01:00
Andreas Dangel
3e01cb4431 Merge branch 'pr-2051'
[doc] Update the docs on adding a new language
2019-12-18 10:05:11 +01:00
Andreas Dangel
84c9cc87e1 [doc] Update release notes, refs #2051 2019-12-18 10:04:34 +01:00
Andreas Dangel
81de44cbd3 Merge branch 'pr-2169'
[modelica] Follow-up fixes for Modelica language module
2019-12-18 09:59:52 +01:00
Andreas Dangel
7e9c5c38d8 [doc] Update release notes, refs #2169 2019-12-18 09:59:45 +01:00
Andreas Dangel
0b926efaab Merge branch 'pr-2115'
[apex] ApexCSRF changes
2019-12-18 09:58:32 +01:00
Andreas Dangel
66e26a5168 [doc] Update release notes, refs #2115 2019-12-18 09:56:08 +01:00
Andreas Dangel
0ff3216b48 Merge branch 'pr-2150'
[java] Fix false negative in AvoidLiteralsInIfCondition
2019-12-18 09:50:19 +01:00
Clément Fournier
627e258458 Revert 2019-12-17 17:49:01 +01:00
Andreas Dangel
f1d3b93ff6 [core] Preserve newlines in DocumentFile
Fixes #2170 [core] DocumentFile doesn't preserve newlines
2019-12-17 16:49:45 +01:00
Andreas Dangel
3ec8914922 [doc] Update release notes, refs #2069, fixes #1683 2019-12-17 15:48:37 +01:00
Andreas Dangel
b77aec218e [doc] Add modelica to cli_reference and ant 2019-12-17 11:37:42 +01:00
Andreas Dangel
816c58897a Merge branch 'pr-2041'
[modelica] Initial implementation for PMD
2019-12-17 11:21:29 +01:00
Andreas Dangel
c27ed3aa9a Update release notes, refs #2041 2019-12-17 11:09:13 +01:00
Andreas Dangel
1480bfeaa4 Merge branch 'pr-2165'
[java] Deprecate JavaQualifiedName and a few other things
2019-12-17 10:45:34 +01:00
Andreas Dangel
9dbaa53f63 Release notes: fix jdoc references 2019-12-17 10:45:22 +01:00
Andreas Dangel
a82c9e912b Update release notes with deprecated ASTAnyTypeDeclaration#getImage() 2019-12-17 10:29:31 +01:00
Clément Fournier
3f7d432681 Update release notes 2019-12-16 23:16:58 +01:00
Andreas Dangel
7b5e9703ec [java] AvoidLiteralsInIfCondition: add property ignoreExpressions
The property ignoreExpressions is set to true in order to keep
the rule backwards compatible.
2019-12-16 11:17:25 +01:00
Andreas Dangel
ed253183aa [java] AvoidLiteralsInIfCondition: false negative for expressions
Fixes #2140
2019-12-16 11:17:17 +01:00
Clément Fournier
eddff1449e Deprecate TypeKind and related 2019-12-16 00:26:05 +01:00
Andreas Dangel
da194bf427 Merge branch 'pr-2148'
[java] Fix false negative for StringInstantion with array access
2019-12-13 20:14:52 +01:00
Andreas Dangel
2b1e21bf11 Merge branch 'pr-2151'
[java] Fix false-positive in JUnitAssertionsShouldIncludeMessage
2019-12-13 20:10:50 +01:00
Clément Fournier
1f0caf5034 Merge branch 'master' into deprecate-rvf-impls 2019-12-09 01:09:27 +01:00
Clément Fournier
4014ab1dc8 Update release notes 2019-12-08 14:20:23 +01:00
Andreas Dangel
9502cae042 [java] JUnitAssertionsShouldIncludeMessage - False positive with assertEquals and JUnit5
Fixes #2149
2019-12-08 12:10:32 +01:00
Andreas Dangel
3b6fcf4b7a [java] StringInstatiation: False negative with String-array access
Fixes #2141
2019-12-06 11:18:27 +01:00
Clément Fournier
e37f791caa Release notes 2019-12-05 15:28:36 +01:00
Clément Fournier
eb6ceef085 Add comments and update release notes 2019-12-05 15:23:07 +01:00
Andreas Dangel
e87ab21b08 Prepare next development version 2019-11-29 20:05:59 +01:00
Andreas Dangel
d3340c71eb Prepare pmd release 6.20.0 2019-11-29 19:35:32 +01:00
Andreas Dangel
c5d79a0db4 Merge branch 'pr-2138'
[java] Preserve possible type of the target reference for method invocations
2019-11-29 18:41:20 +01:00
Andreas Dangel
19f507fc01 Merge branch 'pr-2137'
[apex] Provide access to underlying query of SoqlExpression
2019-11-29 18:39:38 +01:00
Andreas Dangel
15fc638241 Merge branch 'pr-2126'
[java] ImmutableField: False positive when variable is updated in conditional loop
2019-11-29 18:38:27 +01:00
Andreas Dangel
a85638a0e0 [java] Preserve possible type of the target reference for method invocations
We already resolved the result type of a method invocation,
but in some cases, we also need the type of the target reference
for static method calls.

Reverts the previously introduced fix in UnusedImportsRule.

Fixes #2016
2019-11-29 10:27:19 +01:00
Andreas Dangel
cdf11ed0fa [apex] Provide access to underlying query of SoqlExpression
Fixes #2136
2019-11-28 20:10:31 +01:00
Andreas Dangel
8a6f426fb7 Merge branch 'pr-2104'
[ci] Refactor release scripts
2019-11-24 10:49:29 +01:00
Andreas Dangel
e106e7ac12 [java] ImmutableField: False positive when variable is updated in conditional loop
Fixes #2125
2019-11-24 10:20:21 +01:00
Andreas Dangel
e485396b3a Merge branch 'pr-2121'
[java] Predicates treated like booleans
2019-11-21 20:23:06 +01:00
Andreas Dangel
9d584e009c [doc] Update release notes, refs #2121, fixes #1362 2019-11-21 20:20:35 +01:00
Andreas Dangel
c1674ddd7f Merge branch 'pr-2114'
[doc] Rule deprecation policy
2019-11-21 20:10:56 +01:00
Andreas Dangel
f8bf862d43 Merge branch 'pr-2113'
[java] UnnecessaryFullyQualifiedName false-positive for non-static
nested classes
2019-11-21 20:09:15 +01:00
Andreas Dangel
9cf0083bce Merge branch 'pr-2112'
[java] ImmutableField false positive with inner class
2019-11-21 20:06:46 +01:00
Andreas Dangel
c25049a24b Merge branch 'pr-2111'
[java] False positive MissingStaticMethodInNonInstantiatableClass ...
when inheritors are instantiable
2019-11-21 20:05:20 +01:00
Andreas Dangel
5858048df2 Merge branch 'pr-2101'
[doc] Issue with http://pmdapplied.com/ linking to a gambling Web site
2019-11-21 20:03:49 +01:00
Andreas Dangel
967d3ae4e8 Merge branch 'pr-2100'
[core] Shortnames parameter does not work with Ant
2019-11-21 20:01:50 +01:00
Andreas Dangel
b1b3b37095 Merge branch 'pr-2099'
[java] UnnecessaryFullyQualifiedName: regression / false positive
2019-11-21 20:00:49 +01:00
Andreas Dangel
596365cf75 [doc] Update sidebar
Adding rule deprecation policy
2019-11-18 20:19:13 +01:00
Andreas Dangel
05368bddab [doc] Move rule deprecation policy to devdocs 2019-11-18 20:19:00 +01:00
Andreas Dangel
f17758637f [doc] Rule deprecation policy 2019-11-15 14:48:57 +01:00