mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-20 12:24:29 +02:00
Add support for phpcs reports.
Integrated style-checker for php source code. refs #4070
This commit is contained in:
parent
4a92879a5a
commit
7ac78fe29d
5
test/php/checkswag.sh
Executable file
5
test/php/checkswag.sh
Executable 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
|
Loading…
x
Reference in New Issue
Block a user