Skip to content
Snippets Groups Projects
Commit 02c78e1d authored by Demian Katz's avatar Demian Katz
Browse files

Add php-cs-fixer check.

parent 7bc09549
No related merge requests found
...@@ -7,9 +7,13 @@ env: ...@@ -7,9 +7,13 @@ env:
before_script: before_script:
- pear install pear/PHP_CodeSniffer - 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 - phpenv rehash
script: script:
- phpunit --stderr --configuration module/VuFind/tests/phpunit.xml - phpunit --stderr --configuration module/VuFind/tests/phpunit.xml
- phpcs --standard=PEAR --ignore=*/config/*,*/tests/* --extensions=php $PWD/module - phpcs --standard=PEAR --ignore=*/config/*,*/tests/* --extensions=php $PWD/module
- phing php-cs-fixer-dryrun
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment