[BUGFIX] Fix nightly CGL check 38/53638/2
authorHelmut Hummel <typo3@helhum.io>
Tue, 1 Aug 2017 13:16:55 +0000 (15:16 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 1 Aug 2017 13:26:06 +0000 (15:26 +0200)
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

index 724f03c..7d2f2bd 100644 (file)
@@ -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"
                     )
             )