Home » PHP » PHP_Beautifier
Beautifier for Php
This package is unmaintained.
Download latest release 0.1.15 (archived versions might be outdated)
License: PHP License
Description
This program reformat and beautify PHP 4 and PHP 5 source code files automatically. The program is Open Source and distributed under the terms of PHP Licence. It is written in PHP 5 and has a command line tool.
Maintainers
- Claudio Bustos (clbustos) — lead, active
Dependencies
Required
- PHP (>= 5)
- PEAR Installer (>= 1.4.0b1)
- Log (>= 1.8)
- tokenizer (extension)
Optional
- PHP_DocBlockGenerator (>= 1, exclude 1)
- Console_Getopt (>= 1, exclude 1)
- Archive_Tar (>= 1.2)
- bz2 (extension)
Releases
- 0.1.15 (beta, 2010-06-04)
Release notes
License: PHP License
"Jespino: the bug killer" Release
- Fixed bug #11245: Lowercase filter prepends the control structure with ugly ' '
- Fixed bug #13861: Now comments are correctly indented.
- Fixed bug #14293: Minor typo in documentation (PHP_Beautifier_Filter_Default)
- Fixed bug #14357: PHP_Beautifier breaks php 5.3 code [needs more testing]
- Fixed bug #14429: string with two variables in braces and one of them is an array and this string is within a switch statement, then the braces become indented as if they were ending the switch statement (PEAR Filter)
- Fixed bug #14754: Comment at end of function throws off control sequence
- Fixed bug #14761: do {} while () syntax messes up control sequence
- Fixed bug #16197: Now the new filter EqualsAlign do this.
- Fixed bug #16991: Added the Fluent filter that change the multi-level ac
- Fixed bug #17278: Continue 2; not processed correctly
- Implement Feature #13601: cannot trivially find the current version [on command line]
- Implement Feature #14396: Lowercase filter to handle TRUE and FALSE
- Fixed the style in long comments begining all lines with "*"
- Added the new DocBlock filter usign the DocBlockGenerator Pear Library
- Added t_forach to Default filter. Puts a space after control statement.
- Changed test suite to work with phpunit - 0.1.14 (beta, 2008-06-22)
- 0.1.13 (beta, 2007-02-14)
- 0.1.12 (beta, 2007-02-09)
- 0.1.11 (beta, 2006-06-15)
- 0.1.10 (beta, 2006-06-06)
- 0.1.9 (beta, 2006-06-06)
- 0.1.8 (beta, 2006-04-01)
- 0.1.7 (beta, 2005-09-14)
- 0.1.6 (beta, 2005-06-15)
- 0.1.5 (beta, 2005-06-13)
- 0.1.4 (beta, 2005-04-01)
- 0.1.3 (beta, 2005-02-10)
- 0.1.2 (beta, 2005-02-04)
- 0.1.1 (beta, 2005-01-15)
- 0.1.0 (beta, 2005-01-12)
- 0.0.9 (devel, 2004-10-07)
- 0.0.8 (devel, 2004-08-06)
- 0.0.7 (devel, 2004-06-16)
- 0.0.6.1 (devel, 2004-06-04)
- 0.0.6 (devel, 2004-06-03)
- 0.0.5 (devel, 2004-06-01)
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #1597 | Closed | Bug | 2004-06-09 | Beautifier damages source code | |
| #1598 | Wont fix | Bug | 2004-06-09 | Indent not correct | |
| #1659 | Bogus | Bug | 2004-06-16 | PHP_Beautifier destroys HEREDOC formatting | |
| #1707 | Closed | Req | 2004-06-23 | BSD style bracing | |
| #2104 | Closed | Bug | 2004-08-10 | BSD bracing problem | |
| #2301 | Closed | Bug | 2004-09-08 | throw new 'SomeException' is not correctly formatted | |
| #3181 | Closed | Bug | 2005-01-12 | Notice Loop on Script | |
| #3186 | Closed | Bug | 2005-01-13 | Beautifies more files then asked for | |
| #3257 | Closed | Bug | 2005-01-20 | Comments between if and elseif screws up formatting | |
| #3585 | Closed | Req | 2005-02-24 | Pkg description: what versions beautified?? | |
| #3754 | Bogus | Bug | 2005-03-09 | beautifier won't run | |
| #4151 | Closed | Bug | 2005-04-15 | Undefined property $getSettings in filter IndentStyles | |
| #4248 | Closed | Req | 2005-04-29 | Try must be tries | |
| #4460 | Bogus | Bug | 2005-05-28 | function t_doc_comment wrong indent | |
| #4501 | Closed | Bug | 2005-06-01 | Online docs and command line arguments mismatch | |
| #4572 | Bogus | Bug | 2005-06-11 | undefined constant STDOUT | |
| #4573 | Closed | Bug | 2005-06-11 | coding standards of the package | |
| #4621 | Closed | Bug | 2005-06-17 | add_headers error | |
| #4931 | Closed | Bug | 2005-07-27 | Formatting problem with switches | |
| #5386 | Closed | Bug | 2005-09-13 | Broken link to doc | |
| #5389 | No Feedback | Bug | 2005-09-13 | Opening tag gets damaged in first line of code beautified | |
| #5711 | Closed | Bug | 2005-10-18 | Pear Filter does not work correctly | |
| #6089 | Closed | Req | 2005-11-27 | Inserts a blank line after nearly every code line | |
| #6230 | Bogus | Req | 2005-12-12 | html | |
| #6237 | Closed | Bug | 2005-12-13 | SESSION variables | |
| #7305 | Closed | Req | 0.1.8 | 2006-04-05 | add spaces before and after array key-value pair assignator (=>) |
| #7306 | Bogus | Req | 0.1.8 | 2006-04-05 | add comma after last array element |
| #7307 | No Feedback | Bug | 0.1.8 | 2006-04-05 | first lines are intended if ListClassFunction is enabled |
| #7308 | Closed | Bug | 0.1.8 | 2006-04-05 | typo in "How to use PHP_Beautifier": 'standar' should be 'standard' |
| #7309 | No Feedback | Req | 0.1.8 | 2006-04-05 | please also recognize short open tags |
| #7310 | Bogus | Req | 0.1.8 | 2006-04-05 | rewrite include/require to single quotes without () |
| #7311 | Bogus | Req | 0.1.8 | 2006-04-05 | rewrite doubel quoted strings |
| #7312 | Closed | Req | 0.1.8 | 2006-04-05 | missing spaces with < operator |
| #7313 | Bogus | Req | 0.1.8 | 2006-04-05 | missing spaces around concat operator |
| #7346 | Bogus | Bug | 0.1.8 | 2006-04-09 | missing new line between functions in pear filter |
| #7347 | Closed | Bug | 0.1.10 | 2006-04-09 | [PEAR-filter] control structures indented incorrecly |
| #7348 | Closed | Req | 0.1.8 | 2006-04-09 | always lowercased statements |
| #7759 | Closed | Bug | 0.1.9 | 2006-05-30 | comment after case causes mistake |
| #7776 | Open | Bug | 0.1.15 | 2006-06-01 | Problem with recursivity scanning and outputing |
| #7818 | Closed | Bug | 0.1.9 | 2006-06-06 | Curly brackets being treated as method body |
| #7825 | Closed | Req | 0.1.10 | 2006-06-06 | Add token for string concat |
| #7854 | Bogus | Req | 0.1.10 | 2006-06-10 | Rewrite T_OPEN_TAG_WITH_ECHO |
| #8327 | Closed | Req | 0.1.11 | 2006-07-31 | Layout of for loop |
| #8362 | Bogus | Bug | 0.1.11 | 2006-08-04 | curly-braces for control structures |
| #9078 | Closed | Bug | 0.1.11 | 2006-10-18 | php_beautifier script use addFilter defore addFilterDirectory |
| #10019 | Assigned | Bug | 0.1.11 | 2007-02-03 | switch indent |
| #10091 | Closed | Bug | 0.1.12 | 2007-02-13 | CS issue: throw should not have parens |
| #10839 | Closed | Bug | 0.1.13 | 2007-04-25 | T_CLONE and T_ARRAY formatting bugs with default filter |
| #11245 | Closed | Bug | 0.1.13 | 2007-06-07 | Lowercase filter prepends ' ' |
| #11661 | Closed | Bug | 0.1.13 | 2007-07-21 | Function getPreviousWhitespace Overly Aggressive |
| #11662 | Closed | Req | 0.1.13 | 2007-07-21 | Please add T_DOUBLE_QUOTE to $aTokensToChange |
| #11941 | Closed | Bug | 0.1.13 | 2007-08-30 | Double Ternary Issue |
| #12271 | Assigned | Req | 0.1.13 | 2007-10-18 | Don't strip all blank lines |
| #13600 | Closed | Bug | 0.1.13 | 2008-04-05 | Pear filter appends space to function definition line |
| #13601 | Closed | Req | 0.1.13 | 2008-04-05 | cannot trivially find the current version |
| #13602 | Closed | Bug | 0.1.13 | 2008-04-05 | Pear filter breaks output - for valid, curly syntax "$this->{$method}();" |
| #13795 | Closed | Bug | 0.1.13 | 2008-04-28 | "else echo" gets turned into "elseecho" |
| #13803 | Assigned | Bug | 0.1.13 | 2008-04-29 | switches not properly indenting with IndentStyles(style=bsd) |
| #13805 | Closed | Bug | 0.1.13 | 2008-04-30 | PEAR filter and switch indent |
| #13859 | Closed | Req | 0.1.13 | 2008-05-09 | Improve operator parsing / formatting |
| #13860 | No Feedback | Bug | 0.1.13 | 2008-05-09 | control sequences not correctly handled |
| #13861 | Closed | Bug | 2008-05-09 | indentation in /**/ dropped | |
| #14128 | Duplicate | Bug | 0.1.15 | 2008-06-12 | Output Filenames modification |
| #14175 | Closed | Bug | 0.1.13 | 2008-06-17 | HEREDOC: failure when heredoc string enclosed in function call |
| #14293 | Closed | Doc | 2008-07-04 | typo in documentation | |
| #14396 | Closed | Req | CVS | 2008-07-23 | Lowercase filter to handle TRUE and FALSE |
| #14429 | Closed | Bug | 0.1.14 | 2008-07-31 | Braces within strings break |
| #14459 | No Feedback | Bug | 0.1.14 | 2008-08-06 | Double braces cause Token Error |
| #14537 | Closed | Bug | 0.1.14 | 2008-08-21 | PHP_Beautifier breaks php 5.3 code |
| #14575 | Assigned | Bug | 0.1.14 | 2008-08-27 | PHP_Beautifier does not indent switch correctly |
| #14589 | Bogus | Req | 0.1.14 | 2008-09-03 | the beautifier shouldn't delete empty rows i use for making readable the code |
| #14593 | Bogus | Req | 0.1.14 | 2008-09-04 | Line length |
| #14754 | Closed | Bug | 0.1.14 | 2008-10-06 | Comment at end of function throws off control sequence |
| #14761 | Closed | Bug | 0.1.14 | 2008-10-08 | do {} while () syntax messes up control sequence |
| #15061 | Closed | Req | 0.1.14 | 2008-11-17 | Exclamation should be treated as operator |
| #16178 | Closed | Bug | 0.1.14 | 2009-05-04 | Header Comment Blocks (Docblocks) aren't fixed or made pretty |
| #16194 | Bogus | Bug | 0.1.14 | 2009-05-07 | Opening brace should be on a new line |
| #16195 | Bogus | Bug | 2009-05-07 | Function name "package_function" is prefixed with a package name but does not.. | |
| #16196 | Open | Req | 0.1.14 | 2009-05-07 | Line exceeds 85 characters |
| #16197 | Closed | Req | 0.1.14 | 2009-05-07 | Equals sign not aligned with surrounding assignments |
| #16991 | Closed | Bug | 0.1.14 | 2010-01-13 | fluent interface is not parsed |
| #17022 | Closed | Bug | 0.1.14 | 2010-01-22 | Crashes with "Argument #2 not an array" |
| #17063 | Closed | Bug | 0.1.14 | 2010-02-03 | Pear filter generates sometimes invalid code in switches |
| #17196 | Bogus | Req | 0.1.14 | 2010-03-05 | Short opening tag of "<?" deactivates beautifier. |
| #17278 | Closed | Bug | Unknown | 2010-03-29 | Continue 2; not processed correctly |
| #17661 | Closed | Bug | 2010-08-05 | php_beautifier emits notices for php < 5.3 | |
| #17780 | Open | Bug | 0.1.15 | 2010-08-21 | Associative arrays indent incorrectly with BSD, GNU, WS filters |
| #18243 | Open | Bug | 0.1.15 | 2011-02-05 | command line options |
| #18444 | Open | Req | 0.1.15 | 2011-04-14 | Remove the use of PEAR_Config, PEAR_Registry |
| #18794 | Bogus | Bug | 0.1.15 | 2011-09-06 | Install Failing |
| #19048 | Open | Bug | 0.1.15 | 2011-11-16 | Switch without break causes all subsequent lines to be indented improperly |
| #19349 | Open | Bug | 0.1.15 | 2012-03-26 | elseif bug |
| #19783 | Open | Bug | 0.1.15 | 2013-01-14 | {} after case after switch cause Fatal error: Uncaught exception 'Exception' |
| #19979 | Open | Bug | 0.1.15 | 2013-06-17 | dependencis missing |
| #19981 | Open | Bug | 0.1.15 | 2013-06-17 | some automatic requires are missing |
| #20405 | Open | Bug | 0.1.15 | 2014-09-11 | simple patch for dirname() return dot |
| #20533 | Open | Bug | 0.1.15 | 2015-04-20 | help for php_beautifier Pear.filter.php question |