-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bruno Ramalho
committed
May 14, 2019
1 parent
0693b4d
commit 770270c
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ruleset name="PHPMD rule set"> | ||
<description>My custom rule set that checks my code...</description> | ||
<rule ref="rulesets/codesize.xml" /> | ||
<rule ref="rulesets/controversial.xml" /> | ||
<rule ref="rulesets/design.xml" /> | ||
<rule ref="rulesets/naming.xml"> | ||
<exclude name="ShortVariable" /> | ||
<exclude name="ShortMethodName" /> | ||
</rule> | ||
<rule ref="rulesets/naming.xml/ShortVariable"> | ||
<properties> | ||
<property name="exceptions" description="Comma-separated list of exceptions" value="id,em" /> | ||
</properties> | ||
</rule> | ||
<rule ref="rulesets/naming.xml/ShortMethodName"> | ||
<properties> | ||
<property name="exceptions" description="Comma-separated list of exceptions" value="up" /> | ||
</properties> | ||
</rule> | ||
</ruleset> |