Skip to content

Commit 316dd0b

Browse files
committed
Use udiff format in php-cs-fixer for more readable diffs
1 parent 8d368c6 commit 316dd0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
},
4646
"scripts": {
4747
"codestyle:check": [
48-
"vendor/bin/php-cs-fixer fix --diff --dry-run",
48+
"vendor/bin/php-cs-fixer fix --diff --diff-format=udiff --dry-run -vvv --ansi",
4949
"vendor/bin/phpcs --standard=PSR2 ./lib/ ./tests/"
5050
],
5151
"codestyle:fix": [
52-
"vendor/bin/php-cs-fixer fix --diff || exit 0",
52+
"vendor/bin/php-cs-fixer fix --diff --diff-format=udiff -vvv || exit 0",
5353
"vendor/bin/phpcbf --standard=PSR2 ./lib/ ./tests/"
5454
],
5555
"analyze": [

0 commit comments

Comments
 (0)