From 5662db5f6c5cb5df3faaa7be809aa93cc132c058 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Mon, 8 May 2017 11:02:47 -0500 Subject: [PATCH] add .php extension to temp files --- src/beautifiers/phpcbf.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/beautifiers/phpcbf.coffee b/src/beautifiers/phpcbf.coffee index d811ec8..0d817f7 100644 --- a/src/beautifiers/phpcbf.coffee +++ b/src/beautifiers/phpcbf.coffee @@ -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: {