1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix travis config

This commit is contained in:
Tim Düsterhus 2013-01-07 18:50:22 +01:00
parent 900cd5542d
commit 8d077a0d98

View File

@ -9,7 +9,7 @@ before_script:
- git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
- rm WCF/CodeSniff/WCF/Sniffs/Namespaces/ClassMustBeImportedSniff.php - rm WCF/CodeSniff/WCF/Sniffs/Namespaces/ClassMustBeImportedSniff.php
- rm WCF/CodeSniff/WCF/Sniffs/Namespaces/UseDeclarationSniff.php - rm WCF/CodeSniff/WCF/Sniffs/Namespaces/UseDeclarationSniff.php
- sed -i 's/<rule ref="WCF.Namespaces.ClassMustBeImported" />//' WCF/CodeSniff/WCF/ruleset.xml - sed -i 's/<rule ref="WCF.Namespaces.ClassMustBeImported" \/>//' WCF/CodeSniff/WCF/ruleset.xml
- sed -i 's/<rule ref="WCF.Namespaces.UseDeclaration" />//' WCF/CodeSniff/WCF/ruleset.xml - sed -i 's/<rule ref="WCF.Namespaces.UseDeclaration" \/>//' WCF/CodeSniff/WCF/ruleset.xml
script: script:
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file