From 8b8595ee9cdbdc786e1f0055201eccf652b12034 Mon Sep 17 00:00:00 2001 From: Jason Scragz Date: Mon, 29 May 2017 16:16:37 -0700 Subject: [PATCH] apply #1649 fix to other platforms besides win fixes #1684 fixes #1487 --- 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 ad347b8..f59179d 100644 --- a/src/beautifiers/phpcbf.coffee +++ b/src/beautifiers/phpcbf.coffee @@ -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: {