Commit 14bf99b2 authored by Nicole Cordes's avatar Nicole Cordes Committed by Susanne Moog
Browse files

[TASK] Bamboo: use udiff format for php-cs-fixer diff option

The option produces nice compact output instead of printing whole file.

Resolves: #83335
Releases: master, 8.7
Change-Id: I3b5fb0ab004c653751c4bc3e7f8e1079fcc66235
Reviewed-on: https://review.typo3.org/55081


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
parent 239a55ce
...@@ -24,7 +24,7 @@ DRYRUN="" ...@@ -24,7 +24,7 @@ DRYRUN=""
if [ "$1" = "dryrun" ] if [ "$1" = "dryrun" ]
then then
DRYRUN="--dry-run --diff" DRYRUN="--dry-run --diff --diff-format udiff"
fi fi
DETECTED_FILES=`git diff-tree --no-commit-id --name-only -r HEAD | grep '.php$' 2>/dev/null` DETECTED_FILES=`git diff-tree --no-commit-id --name-only -r HEAD | grep '.php$' 2>/dev/null`
......
Supports Markdown
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