From 20f5628a745935cb23add515907f02bf5498094e Mon Sep 17 00:00:00 2001 From: Steven Zeck Date: Tue, 15 May 2018 12:29:49 -0500 Subject: [PATCH] Separate --config and the file path for Docker --- src/beautifiers/php-cs-fixer.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/beautifiers/php-cs-fixer.coffee b/src/beautifiers/php-cs-fixer.coffee index 02fdc58..cfdbc0d 100644 --- a/src/beautifiers/php-cs-fixer.coffee +++ b/src/beautifiers/php-cs-fixer.coffee @@ -67,7 +67,8 @@ module.exports = class PHPCSFixer extends Beautifier phpCsFixerOptions = [ "fix" "--rules=#{options.rules}" if options.rules - "--config=#{options.cs_fixer_config_file}" if options.cs_fixer_config_file + "--config" if options.cs_fixer_config_file + "#{options.cs_fixer_config_file}" if options.cs_fixer_config_file "--allow-risky=#{options.allow_risky}" if options.allow_risky "--using-cache=no" ]