656 Commits

Author SHA1 Message Date
Clément Fournier
54b7679329 Same for apex 2019-09-25 01:11:46 +02:00
Andreas Dangel
e536ca1947 [maven-release-plugin] prepare for next development iteration 2019-09-15 10:14:14 +02:00
Andreas Dangel
3f42cca200 [maven-release-plugin] prepare release pmd_releases/6.18.0 2019-09-15 10:14:05 +02:00
Andreas Dangel
9eaffbd3e6 Update generated rule documentation 2019-09-14 17:24:26 +02:00
Andreas Dangel
8821434604 Merge branch 'pr-1943' 2019-09-14 17:11:34 +02:00
Andreas Dangel
4d6b3215d5 Add new rule DebugsShouldUseLoggingLevel to quickstart 2019-09-14 17:08:37 +02:00
Andreas Dangel
dd294d3813 Consider lower-case, use parameter strictMode 2019-09-13 15:57:14 +02:00
Andreas Dangel
e29401b45e Fixes from PR #1959 Review 2019-09-08 21:35:14 +02:00
Clément Fournier
22e5538e14 Fix test files 2019-09-08 18:53:32 +02:00
Renato Oliveira
9b00cb3ceb Change expression to the one suggested by @rsoesemann. 2019-09-08 12:41:15 -03:00
Renato Oliveira
75d3e565f0 Update comment and "since" version 2019-09-08 12:37:42 -03:00
Andreas Dangel
e2a28b4d43 [apex] Expose InterfaceNames and TriggerUsages as Lists 2019-09-07 20:28:21 +02:00
Andreas Dangel
41304c3031 [apex] Introduce own PMD enum for TriggerUsage 2019-09-07 11:04:15 +02:00
Andreas Dangel
dbb711b0f5 [apex] Fix ASTUserInterfaceTest examples 2019-09-07 10:50:09 +02:00
Andreas Dangel
e3db6241f6 [apex] Sort trigger usages 2019-08-10 21:49:01 +02:00
Andreas Dangel
281ef3441b [apex] Expose more info on UserClass, UserInterface, UserTrigger
* Renamed ASTUserClass::getSuperTypeName to getSuperClassName
* Expose ASTUserClass::getInterfaceNames - comma separated
* Expose ASTUserInterface::getSuperInterfaceName
* Expose ASTUserTrigger::getTargetName and getUsages
2019-08-10 20:43:38 +02:00
Andreas Dangel
bf18d5dc87 (doc) apex bestpractices: Create a clickable link 2019-08-04 11:15:35 +02:00
Andreas Dangel
190dee7c59 [apex] Expose supertype name of UserClass
Fixes #1901
2019-08-04 11:07:58 +02:00
Andreas Dangel
7a7971f64d [maven-release-plugin] prepare for next development iteration 2019-07-28 10:24:51 +02:00
Andreas Dangel
365e1c9e8b [maven-release-plugin] prepare release pmd_releases/6.17.0 2019-07-28 10:24:43 +02:00
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