» Version | » Information |
---|---|
0.1.15 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.15 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.15 Release date: 2010-06-04 21:23 UTC Release state: beta Release uploaded by: clbustos Changelog: "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 Dependencies:
|
0.1.14 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.14 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.14 Release date: 2008-06-22 04:41 UTC Release state: beta Release uploaded by: clbustos Changelog: Big bug fix release: "Thanks for the patience, bug reporters. The fishes were good, too!" This is the last beta release, before going to stable. This package has more than 3 years!!!! - Bug fix #10091: CS issue: throw should not have parens - Bug fix #10839: T_CLONE and T_ARRAY formatting bugs with default filter - Bug fix #11661: Function getPreviousWhitespace Overly Aggressive - Bug fix #11662: Please add T_DOUBLE_QUOTE to $aTokensToChange - Bug fix #11941: Nested ternary operators add newlines - Bug fix #13600: Extra space after close parenthesis on function definition deleted. - Bug fix #13602: Pear filter breaks output - for valid, curly syntax "$this->{$method}();" - Bug fix #13795: "else echo" gets turned into "elseecho" - Bug fix #13805: Pear filter doesn't follow example for switch format - Bug fix #14175: HEREDOC: failure when heredoc string enclosed in function call + New phpBB filter, courtesy of Jim Wigginton Dependencies:
|
0.1.13 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.13 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.13 Release date: 2007-02-14 01:15 UTC Release state: beta Release uploaded by: clbustos Changelog: Small Rolf bug fix release: - Bug fix[rolfhub_at_web.de 2007-02-07-2/pear]: Pear filter delete the space between break and a number. - Bug fix[rolfhub_at_web.de 2007-02-12]: function wsToString($sText) to public static function wsToString($sText) + Two new settings on Pear filter: "newline_class" and "newline_class" Dependencies:
|
0.1.12 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.12 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.12 Release date: 2007-02-09 23:52 UTC Release state: beta Release uploaded by: clbustos Changelog: Bug fix release - Bug fix[9078]:php_beautifier script use addFilter defore addFilterDirectory. Fixed file php_beautifier - 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. - 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;" - 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. - Bug fix[8327]: There is one extra space before semicolon in Pear filter + Added -h option on php_beautifier for usage message + New package2.xml Dependencies:
|
0.1.11 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.11 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.11 Release date: 2006-06-15 02:24 UTC Release state: beta Release uploaded by: clbustos Changelog: Bug fix release (damn switch) * Reimplemented switch, case and default control logic. Now, almost all the switch stamements should be managed well. Please, give feedback! * Home Page URL changed to http://beautifyphp.sourceforge.net/ * Author email changed to cdx _at _users.sourceforge.com - 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. - 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. - 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 Dependencies:
|
0.1.10 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.10 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.10 Release date: 2006-06-06 21:44 UTC Release state: beta Release uploaded by: clbustos Changelog: The one NOT before stable: ( The day of the AC! - 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. - Internal Bug 3: Removed log messages on command line. Use -v to get the verbose output (messages with PEAR_DEBUG_INFO level). ! Bug 7759 remains open, only when one or more case doesn't ends with a break. Dependencies:
|
0.1.9 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.9 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.9 Release date: 2006-06-06 01:15 UTC Release state: beta Release uploaded by: clbustos Changelog: The one before stable! - Bug fix[Internal 2]: Code to detect default token constant was wrong. This solve strange extra white lines on output. - Bug fix[#7305]: add spaces before and after array key-value pair assignator (=>) - Bug fix[#7307]: first lines are intended if ListClassFunction is enabled - Bug fix[#7308]: typo in "How to use PHP_Beautifier": 'standar' should be 'standard' - Bug fix[#7312]: missing spaces with lower and greater than operator. missing spaces with after ; in for statemants - Bug fix[#7759]: Adding a comment after a case statement in a switch causes the indenting to be wrong. + 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. Dependencies:
|
0.1.8 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.8 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.8 Release date: 2006-04-01 12:57 UTC Release state: beta Release uploaded by: clbustos Changelog: Bug fix release - Bug fix [#6237]: Extra space before a variable inside a double quote section - Bug fix [#5711]: Add newline with indent after class definition, with pear filter. - Dependencies:
|
0.1.7 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.7 Release date: 2005-09-14 20:02 UTC Release state: beta Release uploaded by: clbustos Changelog: - Bug fix [Daniel Convissor,June 20] Pear Filter: Switch structures according to coding standars(http://pear.php.net/manual/en/standards.control.php) - 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 first file and not the rest of the files. - Bug fix [#4931]: Switch again! empty case before a default statement breaks the indentation - Dependencies:
|
0.1.6 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.6 Release date: 2005-06-15 23:09 UTC Release state: beta Release uploaded by: clbustos Changelog: - Fixed suite of test, to respond to the changes implemented on v0.1.5 - Bug fix on PHP_Beautifier_Common::getSavePath : the MCD of the files is based on the complete dirs, not only the last common char. + Correct implementation of compressed output files (.tar, .tgz, .tar.bz2). Now, you can do something like $oBeaut = new PHP_Beautifier(); $oBatch = new PHP_Beautifier_Batch($oBeaut); $oBatch->setRecursive(true); $oBatch->setInputFile('files/*.php'); $oBatch->setOutputFile('files.tar'); $oBatch->save(); $oBatch->setOutputFile('files.tar.bz2'); $oBatch->save(); $oBatch->setOutputFile('files.tgz'); $oBatch->save(); + Using get() or show() on a Batch object send the contents of the files, one after another. Dependencies:
|
0.1.5 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.5 Release date: 2005-06-13 03:24 UTC Release state: beta Release uploaded by: clbustos Changelog: - Bug fix [#4151]: Lot of NOTICES when use IndentStyles filter(silly me!) - Bug fix [#4501]: Fixed online docs and command line arguments mismatch - Bug fix [#4572]: Verify cli before access to STDOUT on Batch.php - Bug fix [#4573]: Removed default indent, to maintain coding standars of PEAR. Dependencies:
|
0.1.4 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.4 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.4 Release date: 2005-04-01 20:40 UTC Release state: beta Release uploaded by: clbustos Changelog: Improved Filter NewLines release + Added support for tokens. + Added optional dependency on bz2 - Bug fix: You could use, now, colons to separate contents and/or tokens * Example of use with command line: php_beautifier --filters "NewLines(before=if:switch:T_CLASS,after=T_COMMENT:function) ! Know issue: the comments have special rules for spacing. So, newlines before a token after a comment won't be created. Feature or Bug? You decide Dependencies:
|
0.1.3 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.3 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.3 Release date: 2005-02-10 22:06 UTC Release state: beta Release uploaded by: clbustos Changelog: Bug fix release for CGI mode + Added test on script 'php_beautifier', to verify that the php interpreter is the 'cli' one. * Bug fix: References of STDIN and STDOUT generates Notices on cgi mode. Reported by Tobias Bielohlawek (ted42 at web.de). Dependencies:
|
0.1.2 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.2 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.2 Release date: 2005-02-04 01:26 UTC Release state: beta Release uploaded by: clbustos Changelog: 1+)New Filter NewLines: Request by Michael Mayer (michael at liquidbytes.net). Allows to include an extra line before/after some contents. Please, use with case, because is a preliminary release. 2+)New Functions in PHP_Beautifier to support PHP_Beautifier_Files_NewLines: 2.1) setBeforeNewLine() 2.2) setNoDeletePreviousSpaceHack() : an ominous hack. Children, don't do it at home! 3*)The new "RFC Header Comment Blocks" is a success, so all the headers are changed to adjust. A new license is available on licences, for PEAR Filter. 4-)Bug fix [3257]: Comments between if and elseif screws up formatting. Dependencies:
|
0.1.1 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.1 Release date: 2005-01-15 17:47 UTC Release state: beta Release uploaded by: clbustos Changelog: Bug fix release. - Bug fix [3181]: Added dependency for tokenizer extension on package.xml and a test in PHP_Beautifier.php. The tokenizer extension is disabled in FreeBsd, so, if application can't find de tokenizer, throws an exception. - Bug fix [3186]: Replaced custom glob function with standard PHP glob function. Advice: RTFM! Dependencies:
|
0.1.0 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.1.0 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.1.0 Release date: 2005-01-12 10:53 UTC Release state: beta Release uploaded by: clbustos Changelog: Devel state: No bugs reported in months.... The next release will be stable, probably. + More documentation on PHP_Beautifier, StreamWrapper + Added PHP_Beautifier::removeFilter() + Added preliminary support for tokenikers. See PHP_Beautifier::process() and PHP_Beautifier_Tokenizer() * Test for package can use the version on include path or a local one, on ../Beautifier.php. Useful for debug. - Bug fix: HP_Beautifier_Filter_IndentStyles::_call() doesn't have to return a value on success - Bug fix: Addes T_OBJECT_OPERATOR as token and t_object_operator on Default Filter. Dependencies:
|
0.0.9 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.9 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.9 Release date: 2004-10-07 00:50 UTC Release state: devel Release uploaded by: clbustos Changelog: Summary: Bug fix release - Bug fix[2301]: Whitespace ommited after 'throw' - Bug fix[2104]: Fixed problems with BSD brace style. - Bug fix: Fixed support for GNU brace style + Extra documentation * Replaced addNewLine + addIndent for addNewLineIndent Dependencies:
|
0.0.8 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.8 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.8 Release date: 2004-08-06 02:55 UTC Release state: devel Release uploaded by: clbustos Changelog: + Added Filter: Indent Styles. You can indent braces in 4 styles: K&r, BSD, Whitesmiths and GNU. (Req #1707) * New stack-based method to handle indents (Break BC) * Some extra documentation - Bug fix: Get the description (PHP_Beautifier::getFilterDescription() ) for Default Filter sends an error when you execute the scripts from other dir. Fixed method PHP_Beautifier::addFilterFile() to handle this. Dependencies:
|
0.0.7 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.7 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.7 Release date: 2004-06-16 02:11 UTC Release state: devel Release uploaded by: clbustos Changelog: - Bug fix: Shorts comments after T_END_HEREDOC or another short comment starts in the same line. - Bug fix[1597]: Open brace after short comment starts in the same line. * Bug fix[1598]: With Default Filter, open and close tags maintains current whitespace. So, html with included php looks better * Custom streams in PHP5RC.x have a bug on stream_feof. setInputFile() on PHP_Beautifier not use feof. + Added support for input tgz and tar.bz2 files. This feature is handled by streams (PHP_Beautifier_StreamWrapper_Tarz->tarz://file.tgz#myfile.php) + Added more standard and internal tests with mock-a-like object in + Added Beautifier_Bugs.phpt for bug fix test. + Added Beautifier_StreamWrapper.phpt for streams tests. + Added example: example_html test/Beautifier.phpt Dependencies:
|
0.0.6.1 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.6.1 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.6.1 Release date: 2004-06-04 03:11 UTC Release state: devel Release uploaded by: clbustos Changelog: - Bug fix's fix: fix incorrect solution on 0.0.6 for incorrect new life after ending curly brace inside double quotes. (Simon Mundy) - Bug fix: space after T_EXIT and T_EVAL - Documentation error: Fixed some errors on command line docs. + Added new test (very limited): Beautifier_Common.phpt Dependencies:
|
0.0.6 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.6 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.6 Release date: 2004-06-03 03:46 UTC Release state: devel Release uploaded by: clbustos Changelog: +Log support. Add dependency on Pear package Log (version>=1.8). You should call PHP_Beautifier_Common::getLog to get a singleton instance of Log_composite. + Added option '--compress' on console tool. You should use 'gz'(default) or 'bz2' * Security: callbacks to php_beautifier inside beautified code can only be methods which start on 'add' and 'set', except 'setInputFile' and 'setOutputFile' - Bug fix: Fixed dependency for Archive_Tar (from > 1.19 to >=1.2).(Simon Mundy) - Bug fix: Incorrect definition for short options on command line.(Simon Mundy) - Bug fix: incorrect new life after ending curly brace inside double quotes new line (Simon Mundy) Dependencies:
|
0.0.5 |
Easy InstallNot sure? Get more info. pear install PHP_Beautifier-0.0.5 Pyrus InstallTry PEAR2's installer, Pyrus. php pyrus.phar install pear/PHP_Beautifier-0.0.5 Release date: 2004-06-01 09:20 UTC Release state: devel Release uploaded by: clbustos Changelog: * Deep changes of PHP_Beautifier_Batch: All the real work is done by subclasses of PHP_Beautifier_Batch (Strategy Pattern?) * Add dependency on Archive_Tar, version 1.19 for batch output. Dependencies:
|