14743 Commits

Author SHA1 Message Date
Andreas Dangel
a0cb67308d [plsql] Add support for XMLElement 2019-03-29 15:14:00 +01:00
Andreas Dangel
1f58482f54 Update release notes, fixes #1510 2019-03-29 14:32:40 +01:00
Andreas Dangel
527ae5d785 [plsql] Support XMLFOREST 2019-03-29 14:32:10 +01:00
Andreas Dangel
4367841578 [plsql] Support XMLCAST, XMLQUERY, CAST 2019-03-29 14:32:10 +01:00
Andreas Dangel
44c6d0ed3b [plsql] Add support for XMLEXISTS 2019-03-29 14:32:10 +01:00
Andreas Dangel
2a39eab39c [plsql] Add Support for XMLTABLE
Refs #1510
2019-03-29 14:32:10 +01:00
Andreas Dangel
e8f8e1ac7a Update release notes, document apex attributes 2019-03-29 14:03:32 +01:00
Andreas Dangel
91d0ebf462 [apex] Expose parameter names of NewKeyValueObjectExpression 2019-03-28 21:05:11 +01:00
Andreas Dangel
680b164e10 [apex] Refactor rules to use new nodes attributes
Also unifying getType() on ASTField, ASTProperty, ASTVariableDeclaration,
ASTParameter
Adding remaining types in ASTLiteralExpression
2019-03-28 20:15:06 +01:00
Andreas Dangel
1d01435820 [plsql] % not supported in "TestSearch%notfound"
Fixes #1733
2019-03-28 17:21:51 +01:00
Andreas Dangel
ca6ad5fd22 [pslql] ParseException when parsing ELSIF
Fixes #1731
2019-03-28 16:51:08 +01:00
Travis CI (pmd-bot)
f6549d6c0b Update documentation
TRAVIS_JOB_NUMBER=3572.1
TRAVIS_COMMIT_RANGE=895ee7bc9f94...d5186afc527d
2019-03-26 17:44:50 +00:00
Andreas Dangel
d5186afc52 Merge branch 'pr-1737' 2019-03-26 18:22:03 +01:00
Andreas Dangel
3a22449b86 Update release notes, fixes #1674, refs #1737 2019-03-26 18:21:52 +01:00
Itai Gilo
e7f7422f50 Update the right file 2019-03-25 21:32:35 +02:00
Itai Gilo
6df4100ca8 Revert changes to auto-generated file 2019-03-25 21:31:08 +02:00
Travis CI (pmd-bot)
895ee7bc9f Update documentation
TRAVIS_JOB_NUMBER=3569.1
TRAVIS_COMMIT_RANGE=3a866ddb9fc6...17ab453db976
2019-03-25 19:29:53 +00:00
Andreas Dangel
17ab453db9 Merge branch 'pr-1694' 2019-03-25 20:07:15 +01:00
Andreas Dangel
53d123703b Update release notes, refs #1694 2019-03-25 20:04:19 +01:00
Andreas Dangel
2958f83517 Simplify the rules even more 2019-03-25 19:56:47 +01:00
Andreas Dangel
db3b211d8f Undo changes to rulesets/apex/ruleset.xml 2019-03-25 19:50:32 +01:00
Itai Gilo
b4ce59abcd Add escaping to documentation of CommentDefaultAccessModifier 2019-03-25 20:26:32 +02:00
sudhansu
d1a9630ee2 review feedback 2019-03-24 21:01:24 -07:00
sudhansu
72cbd2b63b merge conflicts 2019-03-23 16:25:40 -07:00
sudhansu
a0eabd34b0 merge conflicts 2019-03-23 16:16:32 -07:00
sudhansu
7e44f025e4 removed spaces 2019-03-23 15:23:49 -07:00
sudhansu
99f9cc6054 Modified is test annotation rule and renamed ApexAssertionsShouldIncludeMessage rule 2019-03-23 15:23:49 -07:00
Andreas Dangel
8b1b67ae9e [apex] Refactor rules to use new nodes attributes
This moves the dependency to jorje into the AST nodes
and keeps the rules only dependent on PMD.
2019-03-23 19:02:43 +01:00
Andreas Dangel
acb3027166 [apex] Expose more information on the nodes
Annotation.isResolved, AnnotationParameter.getName
Modifiers on various nodes (UserClass, Field, Method, ...)
Method.isConstructor, Method.getReturnType
2019-03-23 18:49:21 +01:00
Andreas Dangel
35e1e6cd8b Update release notes, fixes #1734, fixes #1735 2019-03-22 16:33:16 +01:00
Andreas Dangel
b2860c6b72 Rename test classes 2019-03-20 17:48:23 +01:00
Andreas Dangel
0c98fbffc1 [plsql] Add test for TO_TIMESTAMPWithoutDateFormat and fix the rule 2019-03-20 17:40:02 +01:00
Andreas Dangel
0a90468e0b [plsql] Add test for TO_DATEWithoutDateFormat and fix the rule 2019-03-20 17:37:46 +01:00
Andreas Dangel
5ff9555870 [plsql] Add test for TO_DATE_TO_CHAR and fix the rule 2019-03-20 17:34:19 +01:00
Travis CI (pmd-bot)
3a866ddb9f Update documentation
TRAVIS_JOB_NUMBER=3562.1
TRAVIS_COMMIT_RANGE=1876a068e6ba...1337dce1fba8
2019-03-19 16:34:34 +00:00
Andreas Dangel
1337dce1fb Add escaping to the test, add extended test in pmd-core for
AbstractRuleViolationFactory
2019-03-19 17:12:03 +01:00
guo fei
e7a0198b4b AbstractRuleViolationFactory.cleanup() skip MessageFormat when args is empty 2019-03-19 17:09:39 +01:00
Andreas Dangel
a0d109fd2b Merge branch 'pr-1714' 2019-03-19 16:30:26 +01:00
Andreas Dangel
6c6cb3ecf3 Merge branch 'pr-1707' 2019-03-19 16:23:32 +01:00
Andreas Dangel
14ad94340c [plsql] Add test for TooManyMethods and fix the rule 2019-03-18 20:06:44 +01:00
Andreas Dangel
ba31b0ce9f [plsql] Add test for TomKytesDespair 2019-03-18 19:27:14 +01:00
Andreas Dangel
b51fa59cf6 Update release notes, fixes #1716 2019-03-18 19:06:30 +01:00
Andreas Dangel
d12daa8d47 [plsql] New rule LineLength 2019-03-18 19:06:30 +01:00
Andreas Dangel
430bd23a83 [plsql] AvoidTabCharacter: Add property "eachLine" 2019-03-18 19:06:30 +01:00
Andreas Dangel
d1414bccb8 [plsql] Add new sample rule AvoidTabCharacter 2019-03-18 19:06:30 +01:00
Andreas Dangel
9f80002250 [plsql] provide access to source code for querying via regex, e.g.
Tab Damage:
//Input[matches(@Sourcecode, '\t')]

Refs #1716
2019-03-18 19:06:09 +01:00
Andreas Dangel
1876a068e6 Upgrade checkstyle to 8.18 2019-03-18 18:56:13 +01:00
Andreas Dangel
1060e843b1 Merge branch 'pr-1697' 2019-03-18 17:06:04 +01:00
Andreas Dangel
bba32d0a67 Update release notes, refs #1697 2019-03-18 17:04:02 +01:00
Andreas Dangel
4ec78b1970 [doc] Correct indentation so that the ordered list works,
use callouts for the tips (instead of quotes)
2019-03-18 17:02:20 +01:00