projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5cfd1
)
Automatically check PHP files for syntax errors
author
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 5 Feb 2013 15:39:56 +0000
(16:39 +0100)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Tue, 5 Feb 2013 15:40:44 +0000
(16:40 +0100)
.travis.yml
patch
|
blob
|
blame
|
history
diff --git
a/.travis.yml
b/.travis.yml
index 785349a6148f8d377cacdba3a0f1475ce0f7a0f8..504cb4b77ab76881313216fa3fe4be7024666ee0 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-6,4
+6,5
@@
before_install:
- pear install pear/PHP_CodeSniffer
- phpenv rehash
script:
- -
phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .
\ No newline at end of file
+ -
find . -type f -name '*.php' -exec php -l {} \;
+ - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .