Merge pull request #1683 from scragz/master

Fix #1682. Removed --no-patch flag from phpcbf beautifier version 3
This commit is contained in:
Glavin Wiechert 2017-05-28 00:15:03 -03:00 committed by GitHub
commit 4a84c404be
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ module.exports = class PHPCBF extends Beautifier
)
else
@run("phpcbf", [
"--no-patch"
"--no-patch" unless options.phpcbf_version is 3
"--standard=#{options.standard}" if options.standard
tempFile = @tempFile("temp", text)
], {