http://pear.php.net/
pear-webmaster@lists.php.netpear-webmaster@lists.php.neten-usLatest releases of php_beautifierThe latest releases for the package php_beautifierPHP_Beautifier 0.1.15
http://pear.php.net/package/PHP_Beautifier/download/0.1.15/
"Jespino: the bug killer" Release<br />
<br />
- Fixed bug #11245: Lowercase filter prepends the control structure with ugly ' '<br />
- Fixed bug #13861: Now comments are correctly indented.<br />
- Fixed bug #14293: Minor typo in documentation (PHP_Beautifier_Filter_Default)<br />
- Fixed bug #14357: PHP_Beautifier breaks php 5.3 code [needs more testing]<br />
- 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)<br />
- Fixed bug #14754: Comment at end of function throws off control sequence<br />
- Fixed bug #14761: do {} while () syntax messes up control sequence<br />
- Fixed bug #16197: Now the new filter EqualsAlign do this.<br />
- Fixed bug #16991: Added the Fluent filter that change the multi-level ac<br />
- Fixed bug #17278: Continue 2; not processed correctly<br />
- Implement Feature #13601: cannot trivially find the current version [on command line]<br />
- Implement Feature #14396: Lowercase filter to handle TRUE and FALSE<br />
- Fixed the style in long comments begining all lines with "*"<br />
- Added the new DocBlock filter usign the DocBlockGenerator Pear Library<br />
- Added t_forach to Default filter. Puts a space after control statement.<br />
- Changed test suite to work with phpunit
2010年06月04日T21:23:37-05:00clbustosPHP_Beautifier 0.1.14
http://pear.php.net/package/PHP_Beautifier/download/0.1.14/
Big bug fix release: "Thanks for the patience, bug reporters. The fishes were good, too!"<br />
This is the last beta release, before going to stable. This package has more than 3 years!!!!<br />
<br />
- Bug fix #10091: CS issue: throw should not have parens<br />
- Bug fix #10839: T_CLONE and T_ARRAY formatting bugs with default filter<br />
- Bug fix #11661: Function getPreviousWhitespace Overly Aggressive<br />
- Bug fix #11662: Please add T_DOUBLE_QUOTE to $aTokensToChange<br />
- Bug fix #11941: Nested ternary operators add newlines<br />
- Bug fix #13600: Extra space after close parenthesis on function definition deleted.<br />
- Bug fix #13602: Pear filter breaks output - for valid, curly syntax "$this->{$method}();"<br />
- Bug fix #13795: "else echo" gets turned into "elseecho"<br />
- Bug fix #13805: Pear filter doesn't follow example for switch format<br />
- Bug fix #14175: HEREDOC: failure when heredoc string enclosed in function call<br />
<br />
+ New phpBB filter, courtesy of Jim Wigginton
2008年06月22日T04:41:15-05:00clbustosPHP_Beautifier 0.1.13
http://pear.php.net/package/PHP_Beautifier/download/0.1.13/
Small Rolf bug fix release:<br />
- Bug fix[rolfhub_at_web.de 2007年02月07日-2/pear]: Pear filter delete the space between break and a number.<br />
- Bug fix[rolfhub_at_web.de 2007年02月12日]: function wsToString($sText) to public static function wsToString($sText)<br />
+ Two new settings on Pear filter: "newline_class" and "newline_class"
2007年02月14日T01:15:56-05:00clbustosPHP_Beautifier 0.1.12
http://pear.php.net/package/PHP_Beautifier/download/0.1.12/
Bug fix release<br />
- Bug fix[9078]:php_beautifier script use addFilter defore addFilterDirectory. Fixed file php_beautifier<br />
- Bug fix[7706 and rolfhub_at_web.de 2007年02月07日-1]: The beautifer removes the whitespaces left and right of the operator, so for example "echo 2 . 1 . 0 . "\n";" becomes "echo 2.1.0."\n";". Added space after and before questions.<br />
- Bug fix[rolfhub_at_web.de 2007年02月07日-2]: When using the "break" command, the command takes an optional parameter, see http://de.php.net/break for details. But this doesn't work when using the beautifier, because, for example "break 2;" morphs to "break2;"<br />
- Bug fix[rolfhub_at_web.de 2007年01月31日]: I think that I have found and fixed a bug in the PHP Beautifier, in the file Common.php in the function getFilesByGlob(). It fails if used under MS-Windows because of the different path separators.<br />
- Bug fix[8327]: There is one extra space before semicolon in Pear filter<br />
+ Added -h option on php_beautifier for usage message<br />
+ New package2.xml
2007年02月09日T23:52:51-05:00clbustosPHP_Beautifier 0.1.11
http://pear.php.net/package/PHP_Beautifier/download/0.1.11/
Bug fix release (damn switch)<br />
* Reimplemented switch, case and default control logic. Now, almost all the switch stamements should be managed well. Please, give feedback!<br />
* Home Page URL changed to http://beautifyphp.sourceforge.net/<br />
* Author email changed to cdx _at _users.sourceforge.com<br />
- Bug fix[7759]: Adding a comment after a case statement in a switch causes the indenting to be wrong. Know issue: Line comment (//) after a case cause a extra new line if the next statement have T_CASE or T_DEFAULT token.<br />
- Bug fix[7818]: Where curly brackets are used to indicate a variable class property, PHP_Beautifier adds extra whitespace as if it were parsing a class method or function.<br />
- Feature Request [#7854]: Rewrite T_OPEN_TAG_WITH_ECHO in the default filter, specially "<%=" because it will be removed in PHP6. Currently implemented on Pear filter
2006年06月15日T02:24:21-05:00clbustosPHP_Beautifier 0.1.10
http://pear.php.net/package/PHP_Beautifier/download/0.1.10/
The one NOT before stable: ( The day of the AC! <br />
- Bug fix[7818]: Where curly brackets are used to indicate a variable class <br />
property, PHP_Beautifier adds extra whitespace as if it were <br />
parsing a class method or function.<br />
- Internal Bug 3: Removed log messages on command line. Use -v to get the verbose output (messages with PEAR_DEBUG_INFO level).<br />
! Bug 7759 remains open, only when one or more case doesn't ends with a break.
2006年06月06日T21:44:02-05:00clbustosPHP_Beautifier 0.1.9
http://pear.php.net/package/PHP_Beautifier/download/0.1.9/
The one before stable! <br />
- Bug fix[Internal 2]: Code to detect default token constant was wrong. This solve strange extra white lines on output.<br />
- Bug fix[#7305]: add spaces before and after array key-value pair assignator (=>)<br />
- Bug fix[#7307]: first lines are intended if ListClassFunction is enabled<br />
- Bug fix[#7308]: typo in "How to use PHP_Beautifier": 'standar' should be 'standard'<br />
- Bug fix[#7312]: missing spaces with lower and greater than operator. missing spaces with after ; in for statemants<br />
- Bug fix[#7759]: Adding a comment after a case statement in a switch causes the<br />
indenting to be wrong.<br />
+ New Lowercase Filter[requested on #7348]: Lowercase all control structures. Parse the output of this filter with a new instance of the object or with a pipe in a new php_beautifier.
2006年06月06日T01:15:59-05:00clbustosPHP_Beautifier 0.1.8
http://pear.php.net/package/PHP_Beautifier/download/0.1.8/
Bug fix release<br />
- Bug fix [#6237]: Extra space before a variable inside a double quote section<br />
- Bug fix [#5711]: Add newline with indent after class definition, with pear filter.<br />
-
2006年04月01日T12:57:24-05:00clbustosPHP_Beautifier 0.1.7
http://pear.php.net/package/PHP_Beautifier/download/0.1.7/
- Bug fix [Daniel Convissor,June 20] Pear Filter: Switch structures according to coding standars(http://pear.php.net/manual/en/standards.control.php)<br />
- Bug fix [#4621]: I ran the command line to update my pages and wanted to add the php license to them. The only problem is it only added the license to the<br />
first file and not the rest of the files.<br />
- Bug fix [#4931]: Switch again! empty case before a default statement breaks the indentation<br />
-
2005年09月14日T20:02:21-05:00clbustosPHP_Beautifier 0.1.6
http://pear.php.net/package/PHP_Beautifier/download/0.1.6/
- Fixed suite of test, to respond to the changes implemented on v0.1.5<br />
- Bug fix on PHP_Beautifier_Common::getSavePath : the MCD of the files is based on the complete dirs, not only the last common char.<br />
+ Correct implementation of compressed output files (.tar, .tgz, .tar.bz2). Now, you can do something like<br />
$oBeaut = new PHP_Beautifier();<br />
$oBatch = new PHP_Beautifier_Batch($oBeaut);<br />
$oBatch->setRecursive(true);<br />
$oBatch->setInputFile('files/*.php');<br />
$oBatch->setOutputFile('files.tar');<br />
$oBatch->save();<br />
$oBatch->setOutputFile('files.tar.bz2');<br />
$oBatch->save();<br />
$oBatch->setOutputFile('files.tgz');<br />
$oBatch->save();<br />
+ Using get() or show() on a Batch object send the contents of the files, one after another.
2005年06月15日T23:09:01-05:00clbustos