[TASK] Bamboo: use udiff format for php-cs-fixer diff option 81/55081/4
authorNicole Cordes <typo3@cordes.co>
Thu, 14 Dec 2017 17:21:49 +0000 (18:21 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 14 Dec 2017 18:28:19 +0000 (19:28 +0100)
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: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Build/Scripts/cglFixMyCommit.sh

index 1cc7f24..38dbfb6 100755 (executable)
@@ -24,7 +24,7 @@ DRYRUN=""
 
 if [ "$1" = "dryrun" ]
 then
-    DRYRUN="--dry-run --diff"
+    DRYRUN="--dry-run --diff --diff-format udiff"
 fi
 
 DETECTED_FILES=`git diff-tree --no-commit-id --name-only -r HEAD | grep '.php$' 2>/dev/null`