Add support for phpcs reports.

Integrated style-checker for php source code.

refs #4070
This commit is contained in:
Johannes Meyer 2013-05-31 13:48:14 +02:00
parent 4a92879a5a
commit 7ac78fe29d
1 changed files with 5 additions and 0 deletions

5
test/php/checkswag.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
phpcs -p --standard=PSR2 --extensions=php --encoding=utf-8 --report-checkstyle=../../build/log/phpcs_results.xml --ignore=vendor "$@" ../..
exit 0