From 02c78e1d548d7691155c0340aa948d09e6c609be Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 25 Jun 2015 12:07:43 -0400 Subject: [PATCH] Add php-cs-fixer check. --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fcb84435162..51f087e1e4d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,13 @@ env: before_script: - pear install pear/PHP_CodeSniffer + - pear channel-discover pear.phing.info + - pear install phing/phing + - composer global require fabpot/php-cs-fixer + - export PATH="$HOME/.composer/vendor/bin:$PATH" - phpenv rehash script: - phpunit --stderr --configuration module/VuFind/tests/phpunit.xml - phpcs --standard=PEAR --ignore=*/config/*,*/tests/* --extensions=php $PWD/module - + - phing php-cs-fixer-dryrun -- GitLab