On 12-11-24 04:32 AM, barz040@yahoo.it wrote:
Yes, if I run: php_beautifier -f /home/user/public_html/input.php -o /home/user/public_html/output.php -l "ArrayNested() NewLines(before=if:switch:while:for:foreach:function:T_CLASS:return:break,after=T_COMMENT) IndentStyles(style=k&r)" it works fine.
Try running it same as the Geany version from the command line, ex:
$ echo "Some PHP Code Here" | php_beautifier -s4 -l "..." or $ cat "some-code-file.php" | php_beautifier -s4 -l "..."
Cheers, Matthew Brush