636 Commits

Author SHA1 Message Date
Renato Oliveira
6a3f4162bc Fixes strings on the tests' messages. 2019-07-27 12:32:52 -03:00
Renato Oliveira
2650b38db9 Removes "DebugsShouldSpecifyLoggingLevelRule" Java files and replaces it with an XPath rule and its test. 2019-07-27 12:28:39 -03:00
Renato Oliveira
bc468b4f21 Fixes style by adding newlines and converting tabs to spaces. 2019-07-26 00:25:59 -03:00
Renato Oliveira
47583eea24 Fixes wrong rule name in best practices xml rule descriptor. 2019-07-25 23:38:02 -03:00
Renato Oliveira
6e67528a7c Add rule file and test case. 2019-07-25 23:14:53 -03:00
Renato Oliveira
75f20ba7f5 Fixes the name of the rule in the best practices category file. 2019-07-25 23:14:12 -03:00
Renato Oliveira
58582dd306 Add the "system.debug should use logging level" rule. 2019-07-25 21:59:01 -03:00
Andreas Dangel
73a8e4cc69 [maven-release-plugin] prepare for next development iteration 2019-06-30 10:33:08 +02:00
Andreas Dangel
45facbd323 [maven-release-plugin] prepare release pmd_releases/6.16.0 2019-06-30 10:32:58 +02:00
Andreas Dangel
ef011c526d [apex] False positive ApexSharingViolationsRule, unsupported Apex feature
Fixes #1664
2019-06-27 20:22:05 +02:00
Andreas Dangel
5ac687918a [maven-release-plugin] prepare for next development iteration 2019-05-26 11:02:26 +02:00
Andreas Dangel
ba2d795f59 [maven-release-plugin] prepare release pmd_releases/6.15.0 2019-05-26 11:02:18 +02:00
Andreas Dangel
07c90ee34c [apex] Replace deprecated rule VariableNamingConventions in quickstart ruleset
Also fix the unit test to check the logger directly instead of
System.err.

Refs #1817
2019-05-25 18:48:54 +02:00
Clément Fournier
23e162b932 Merge branch 'master' into deprecated-dump-facade 2019-05-18 16:42:25 +02:00
Andreas Dangel
7f1ce750e9 Merge branch 'pr-1817' 2019-05-17 16:21:53 +02:00
Andreas Dangel
eae662ac94 Update release notes, fixes #1321, refs #1817 2019-05-17 16:21:09 +02:00
Andreas Dangel
bce37244f7 First assign the comments and then add the comments to the nodes
in a second pass.
2019-05-17 15:22:27 +02:00
Jeff Hube
609750332a Deprecate VariableNamingConventionsRule 2019-05-14 11:33:34 -04:00
Jeff Hube
6e937ed1a9 Remove Regex suffix from new rule names 2019-05-14 11:23:59 -04:00
Jeff Hube
1053d31fd7 Use all caps for constant fields 2019-05-13 17:01:44 -04:00
Jeff Hube
ff7abcf224 Get names without reflection 2019-05-13 13:44:38 -04:00
Jeff Hube
63c71366bd Compile regexes once 2019-05-13 13:17:09 -04:00
Jeff Hube
a0bffae1a1 Make AbstractRegexNamingConventionsRule package private 2019-05-13 13:08:25 -04:00
Jeff Hube
c96d879a5a Move constants to AbstractRegexNamingConventionsRule 2019-05-10 16:27:31 -04:00
Jeff Hube
4bcdfba353 Class defaults should be pascal case 2019-05-10 16:10:34 -04:00
Jeff Hube
48617ee51c Add enumConstantPattern to FieldRegexNamingConventionsRule 2019-05-10 16:07:23 -04:00
Jeff Hube
6cf64949d1 Ignore autogenerated enum methods 2019-05-10 14:00:41 -04:00
Jeff Hube
000e32b2ee Fix NPE on custom exceptions 2019-05-10 12:16:30 -04:00
Jeff Hube
c5b0c8c17a Add configurable naming convention rules 2019-05-09 15:04:46 -04:00
Jeff Hube
8ae6563fff Fix ApexDoc handling with inner classes 2019-05-08 14:50:51 -04:00
Clément Fournier
6f4123afcc Annotated overriding #getDumpFacade as Deprecated 2019-05-02 16:22:04 +02:00
Andreas Dangel
1c9a73426c deprecate: DumpFacade will be removed in PMD 7
Refs #1801
2019-05-01 11:38:35 +02:00
Andreas Dangel
ca9c859c0b [maven-release-plugin] prepare for next development iteration 2019-04-28 10:35:44 +02:00
Andreas Dangel
cd8b2e3217 [maven-release-plugin] prepare release pmd_releases/6.14.0 2019-04-28 10:35:36 +02:00
Juan Martín Sotuyo Dodero
0dd0ce1b06 [apex] Add test case for #702 2019-04-12 16:10:53 -03:00
Andreas Dangel
5818abc0c7 [maven-release-plugin] prepare for next development iteration 2019-03-31 12:07:07 +02:00
Andreas Dangel
4ed549f0b2 [maven-release-plugin] prepare release pmd_releases/6.13.0 2019-03-31 12:06:56 +02:00
Andreas Dangel
dcb9bd007d [apex] Update quickstart ruleset 2019-03-31 11:15:24 +02:00
Andreas Dangel
d613b08ce1 Merge branch 'pr-1726' 2019-03-30 18:01:09 +01:00
Andreas Dangel
b608a676b5 Merge branch 'pr-1727' 2019-03-30 17:46:33 +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
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
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