Skip to content

Commit f372e1b

Browse files
committed
[zendframework#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
1 parent 86fd740 commit f372e1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ before_install:
1212

1313
script:
1414
- php ./tests/run-tests.php
15-
- 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;
15+
- 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;
16+
- 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;
17+
- 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;
1618

1719
notifications:
1820
irc: "irc.freenode.org#zftalk.dev"

0 commit comments

Comments
 (0)