-
Notifications
You must be signed in to change notification settings - Fork 648
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
1 parent
3544b41
commit 297f110
Showing
17 changed files
with
340 additions
and
535 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
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
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
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
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
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,34 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="line-bot-sdk-php PHPMD rule set" xmlns="http://pmd.sf.net/ruleset/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 | ||
http://pmd.sf.net/ruleset_xml_schema.xsd" | ||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd"> | ||
|
||
<description>line-bot-sdk-php phpmd custom rules</description> | ||
|
||
<exclude-pattern>EchoBot/Route.php</exclude-pattern> | ||
<exclude-pattern>KitchenSink/Route.php</exclude-pattern> | ||
<exclude-pattern>EchoBot/Dependency.php</exclude-pattern> | ||
<exclude-pattern>KitchenSink/Dependency.php</exclude-pattern> | ||
<exclude-pattern>test/EventRequestParserTest.php</exclude-pattern> | ||
|
||
<rule ref="rulesets/cleancode.xml"> | ||
<exclude name="ElseExpression" /> | ||
<exclude name="StaticAccess" /> | ||
</rule> | ||
|
||
<rule ref="rulesets/codesize.xml" /> | ||
|
||
<rule ref="rulesets/controversial.xml"> | ||
<exclude name="Superglobals" /> | ||
</rule> | ||
|
||
<rule ref="rulesets/design.xml" /> | ||
<rule ref="rulesets/unusedcode.xml" /> | ||
|
||
<rule ref="rulesets/naming.xml"> | ||
<exclude name="ShortVariable" /> | ||
<exclude name="LongVariable" /> | ||
</rule> | ||
</ruleset> |
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,11 @@ | ||
parameters: | ||
level: 5 | ||
paths: | ||
- src/constants | ||
- src/laravel | ||
- src/parser | ||
ignoreErrors: | ||
# Ignore laravel facade unknown. | ||
- message: '#Call to static method getFacadeRoot\(\) on an unknown class [a-zA-Z]+\.#' | ||
paths: | ||
- src\laravel\test\Facades\FacadesTest.php |
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
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
Oops, something went wrong.