<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">> Try running it same as the Geany version from the command line, ex:<br>>$ echo "Some PHP Code Here" | php_beautifier -s4 -l "..."<br>>or<br>>$ cat "some-code-file.php" | php_beautifier -s4 -l "..."<br><br>done. Both the commands work fine in terminal.<br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><br><br><br>>What platform are you on? Version of Geany, version of GTK and Glib,<br>>from help->debug messages? Look for error messages in help->debug<br>>messages.<br>Xubuntu 12.10, Geany 1.22, GTK 2.24.13<br><br>Those are the error messages in Help>Debug:<br><br>11:03:17: Geany WARNING : php_beautifier -s4 -l "ArrayNested()
NewLines(before=if:switch:while:for:foreach:function:T_CLASS:return:break,after=T_COMMENT) IndentStyles(style=k&r)": PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70<br>PHP Strict Standards: Non-static method Console_Getopt::getopt() should not be called statically in /usr/bin/php_beautifier on line 84<br>PHP Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically in /usr/share/php/Console/Getopt.php on line 92<br>PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 109<br>PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166<br>PHP Strict Standards: Non-static method PEAR::isError() should not be called
statically in /usr/share/php/Console/Getopt.php on line 167<br>PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166<br>PHP Strict Standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220<br>PHP Strict Standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221<br>PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167<br>PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/bin/php_beautifier on line 85<br><br>Those same messages are also shown in terminal but all works <span id="result_box" class="short_text" lang="en"><span
class="hps">however</span>!</span><br><br> </div> </div> </div></body></html>