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: {