Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 203d3e1

Browse files
committed
Update: use php-cs-fixer via composer
1 parent af4d6af commit 203d3e1

File tree

3 files changed

+254
-3
lines changed

3 files changed

+254
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ endif
99

1010
test:
1111
./vendor/bin/phpunit -c ./tests/ --coverage-text
12-
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;
12+
output=$(./vendor/bin/php-cs-fixer 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;

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"guzzle/plugin-mock" : "3.*",
2626
"videlalvaro/php-amqplib" : "2.*",
2727
"predis/predis" : "0.8.*",
28-
"phpunit/phpunit" : "4.7.*"
28+
"phpunit/phpunit" : "4.7.*",
29+
"fabpot/php-cs-fixer" : "1.9.*"
2930
},
3031
"suggest" : {
3132
"ext-bcmath" : "Required by Check\\CpuPerformance",

composer.lock

Lines changed: 251 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)