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
Satoru Yoshihara
committed
Dec 27, 2017
1 parent
2f5894a
commit 1ab07a9
Showing
5 changed files
with
49 additions
and
44 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 |
---|---|---|
|
@@ -7,6 +7,5 @@ php: | |
- '7.1' | ||
install: | ||
- composer update | ||
script: ./vendor/bin/phpunit ./tests | ||
script: composer test | ||
sudo: false | ||
|
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
Empty file.
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,29 @@ | ||
<?xml version="1.0"?> | ||
<ruleset name="My first 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.0http://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>KitchenSink/Route.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> |