PhpBeautifier
PhpBeautifier copied to clipboard
Pear Php_beautifier plugin for Sublime Text 2
Just installed it in Ubuntu 12.04. Doesn't do anything at all!
``` --------------------------- Sublime Text 2 --------------------------- Error trying to parse file: Trailing comma before closing bracket in C:\Users\Amit.Shah\AppData\Roaming\Sublime Text 2\Packages\PHP Codebeautifier\Main.sublime-menu:8:13 --------------------------- OK --------------------------- ``` Resolved by removing , from...
Still uses spaces if I set to use indent `indent = "-t1"` Wishlist: There should be a way to add support for WordPress coding standards: https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#brace-style
PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70 PHP Strict Standards: Non-static method Console_Getopt::getopt() should not be called statically in /usr/bin/php_beautifier on...
Hi I have done some more modifications, in addition to Fix #11. I have added file settings so users can modify setting easily and to allow more file extensions. I...
Traceback (most recent call last): File "./sublime_plugin.py", line 362, in run_ return self.run(edit) File "./php_beautifier.py", line 20, in run AttributeError: 'PhpBeautifierCommand' object has no attribute 'status' Running in Ubuntu 12.10.4,...
OSX 10.7 PHP 5.3.6 php_beautifier-0.1.15 Sublime Text 2 Build 2165 PhpBeautifier v2012.01.20.03.15.20 ``` PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/pear/PEAR/Config.php on line 650...
There seems to be an issue with the filters line. If I try to add or remove stuff, it doesnt work on the plugin anymore? IE: remove the ArrayNested() from...
I followed the installation instructions and made sure php_beautifier is in my path (it's at /usr/local/bin). I'm running Mac OSX 10.7. The result when I run the format command is...