Skip to content

Commit

Permalink
Fix PHP formatting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
akalongman committed Jan 13, 2017
1 parent da6d955 commit 426fcc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeformatter/phpformatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def format(self, text):
if php55_compat:
formatter_path = os.path.join(dirname(realpath(sublime.packages_path())), "Packages", "CodeFormatter", "codeformatter", "lib", "phpbeautifier", "fmt-php55.phar")
else:
formatter_path = os.path.join(dirname(realpath(sublime.packages_path())), "Packages", "CodeFormatter", "codeformatter", "lib", "phpbeautifier", "fmt-php7.phar")
formatter_path = os.path.join(dirname(realpath(sublime.packages_path())), "Packages", "CodeFormatter", "codeformatter", "lib", "phpbeautifier", "fmt.phar")

cmd.append(formatter_path)

Expand Down

0 comments on commit 426fcc9

Please sign in to comment.