From 68228c73be2c49a6969aa03e9f3d74ebf41dd75d Mon Sep 17 00:00:00 2001
From: Helmut Hummel <typo3@helhum.io>
Date: Tue, 1 Aug 2017 15:16:55 +0200
Subject: [PATCH] [BUGFIX] Fix nightly CGL check

Since we introduce auto-generation of entry
scripts, we must exclude them from the check.

To do so, we must instruct php-cs-fixer to respect
the configuration for files in the config file when calling it.

Releases: master
Change-Id: If1ae846f0b0a6539d2b5cc50a7c6d39043695849
Reviewed-on: https://review.typo3.org/53638
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 Build/bamboo/src/main/java/core/NightlySpec.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Build/bamboo/src/main/java/core/NightlySpec.java b/Build/bamboo/src/main/java/core/NightlySpec.java
index 724f03c62d18..7d2f2bd98570 100644
--- a/Build/bamboo/src/main/java/core/NightlySpec.java
+++ b/Build/bamboo/src/main/java/core/NightlySpec.java
@@ -155,7 +155,7 @@ public class NightlySpec extends AbstractCoreSpec {
                     .inlineBody(
                         this.getScriptTaskBashInlineBody() +
                         this.getScriptTaskBashPhpNoXdebug() +
-                        "php_no_xdebug ./bin/php-cs-fixer fix -v --dry-run --config=Build/.php_cs typo3/\n" +
+                        "php_no_xdebug ./bin/php-cs-fixer fix -v --dry-run --path-mode intersection --config=Build/.php_cs typo3/\n" +
                         "exit $?\n"
                     )
             )
-- 
GitLab