Commit afc4a076 by Scott

Update Travis CI config

parent 12f57e3d
...@@ -22,8 +22,7 @@ before_script: ...@@ -22,8 +22,7 @@ before_script:
script: script:
## PHP_CodeSniffer ## PHP_CodeSniffer
- phpcs --report=emacs --standard=PSR1 . - phpcs --extensions=php --standard=qa-tests/phpcs/ruleset.xml .
- phpcs --report=emacs --standard=PSR2 .
## PHP Copy/Paste Detector ## PHP Copy/Paste Detector
- php phpcpd.phar --verbose . - php phpcpd.phar --verbose .
## PHP Mess Detector ## PHP Mess Detector
......
<?xml version="1.0"?>
<ruleset name="Q2AStandard">
<description>Q2A coding standard</description>
<exclude-pattern>qa-include/vendor/*</exclude-pattern>
<exclude-pattern>qa-config.php</exclude-pattern>
<rule ref="PSR1"/>
<rule ref="PSR2">
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
<exclude name="Generic.WhiteSpace.ScopeIndent"/>
<exclude name="Squiz.ControlStructures.ControlSignature"/>
<exclude name="Generic.ControlStructures.InlineControlStructure"/>
<exclude name="PSR2.Methods.FunctionCallSignature"/>
</rule>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
</ruleset>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment