PHP_Beautifier
PHP_Beautifier copied to clipboard
update list of filters to be installed via pear installer
Some filters weren't being included when installing php_beautifier via PEAR.
This pull-request fixes this issue.
I've also added a --list command so that the php_beautifier cli script can list found/added filters. Output looks like the following:
kguest@radagast:~/dev/code/PHP_Beautifier$ php scripts/php_beautifier -i
The installed PHP_Beautifier filters are:
ArrayNested - Filter for PHP_Beautifier
BreakLongLists - Break long arrays, function definitions and function calls
Default - Default Filter for PHP_Beautifier
DocBlock - Filter for PHP_Beautifier
EqualsAlign - Filter for PHP_Beautifier
Fluent - Filter for PHP_Beautifier
IndentStyles - Filter the code in 4 different indent styles: K&R, Allman, Whitesmiths and GNU
KeepEmptyLines - Keep a single empty line where empty lines can be found
ListClassFunction - Create a list of functions and classes in the script
Lowercase - Lowercase all control structures. Parse the output with another Filters
NewLines - Add new lines after or before specific contents
Pear - Filter the code to make it compatible with PEAR Coding Specs
SpaceOpAssignments - Add space before operator+assignments
phpBB - Filter the code to make it compatible with phpBB Coding Standards