diff --git a/.travis.yml b/.travis.yml index cb5087ec8..cdb7055fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,5 @@ before_script: script: # also see: modules/test/application/clicommands/PhpCommand.php - # phpcs is disabled until fixed... - # - php phpcs.phar -p --standard=icingaweb2.ruleset.xml --extensions=php --encoding=utf-8 application/ library/Icinga modules/ test/ + - php phpcs.phar - php phpunit.phar -c modules/test/phpunit.xml --verbose diff --git a/phpcs.xml b/phpcs.xml new file mode 100644 index 000000000..e04ad72f8 --- /dev/null +++ b/phpcs.xml @@ -0,0 +1,23 @@ + + + Sniff our code a while + + application/ + library/Icinga + modules/ + test/ + + vendor/* + application/fonts/fontello-ifont/* + + + + + + + + + + + +