add .php extension to temp files

This commit is contained in:
Tony Brix 2017-05-08 11:02:47 -05:00
parent 67a897bae0
commit 5662db5f6c
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ module.exports = class PHPCBF extends Beautifier
phpcbfPath unless isExec
"--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: {