Separate --config and the file path for Docker
This commit is contained in:
parent
7d17515e25
commit
20f5628a74
|
@ -67,7 +67,8 @@ module.exports = class PHPCSFixer extends Beautifier
|
||||||
phpCsFixerOptions = [
|
phpCsFixerOptions = [
|
||||||
"fix"
|
"fix"
|
||||||
"--rules=#{options.rules}" if options.rules
|
"--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
|
"--allow-risky=#{options.allow_risky}" if options.allow_risky
|
||||||
"--using-cache=no"
|
"--using-cache=no"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue