mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Show output of php -l
This commit is contained in:
parent
71d9b6d1e7
commit
764af53d53
@ -12,5 +12,5 @@ before_script:
|
|||||||
- 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:
|
||||||
- find . -type f -name '*.php' |xargs -I file php -l file > /dev/null
|
- find . -type f -name '*.php' |xargs -I file php -l file
|
||||||
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file
|
- phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file
|
||||||
|
Loading…
Reference in New Issue
Block a user