Merge pull request #1649 from UziTech/php-extension

add .php extension to temp files
This commit is contained in:
Glavin Wiechert 2017-05-28 00:14:05 -03:00 committed by GitHub
commit 7c4896bd24
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: {