Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[#2699] Only run php-cs-fixer on bin, library, and tests

- demos directory contains some embedded javascript code that php-cs-fixer does
  not like
  • Loading branch information...
commit f372e1bd0f80e0ba91dc469165d7b4e0ba3b3bd4 1 parent 86fd740
@weierophinney weierophinney authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 .travis.yml
View
4 .travis.yml
@@ -12,7 +12,9 @@ before_install:
script:
- php ./tests/run-tests.php
- - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 .); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
+ - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 library); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
+ - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 tests); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
+ - output=$(php php-cs-fixer.phar fix -v --dry-run --level=psr2 bin); if [[ $output ]]; then while read -r line; do echo -e "\e[00;31m$line\e[00m"; done <<< "$output"; false; fi;
notifications:
irc: "irc.freenode.org#zftalk.dev"
Please sign in to comment.
Something went wrong with that request. Please try again.