Merge pull request #1693 from scragz/master

apply #1649 fix to other platforms besides win
This commit is contained in:
Glavin Wiechert 2017-05-29 21:11:57 -03:00 committed by GitHub
commit 711f94c8d3
1 changed files with 1 additions and 1 deletions

View File

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