PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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

Dependencies

Required

Optional

Releases

Bugs

IDStatusTypeVersionDateSummary
#1597ClosedBug2004-06-09Beautifier damages source code
#1598Wont fixBug2004-06-09Indent not correct
#1659BogusBug2004-06-16PHP_Beautifier destroys HEREDOC formatting
#1707ClosedReq2004-06-23BSD style bracing
#2104ClosedBug2004-08-10BSD bracing problem
#2301ClosedBug2004-09-08throw new 'SomeException' is not correctly formatted
#3181ClosedBug2005-01-12Notice Loop on Script
#3186ClosedBug2005-01-13Beautifies more files then asked for
#3257ClosedBug2005-01-20Comments between if and elseif screws up formatting
#3585ClosedReq2005-02-24Pkg description: what versions beautified??
#3754BogusBug2005-03-09beautifier won't run
#4151ClosedBug2005-04-15Undefined property $getSettings in filter IndentStyles
#4248ClosedReq2005-04-29Try must be tries
#4460BogusBug2005-05-28function t_doc_comment wrong indent
#4501ClosedBug2005-06-01Online docs and command line arguments mismatch
#4572BogusBug2005-06-11undefined constant STDOUT
#4573ClosedBug2005-06-11coding standards of the package
#4621ClosedBug2005-06-17add_headers error
#4931ClosedBug2005-07-27Formatting problem with switches
#5386ClosedBug2005-09-13Broken link to doc
#5389No FeedbackBug2005-09-13Opening tag gets damaged in first line of code beautified
#5711ClosedBug2005-10-18Pear Filter does not work correctly
#6089ClosedReq2005-11-27Inserts a blank line after nearly every code line
#6230BogusReq2005-12-12html
#6237ClosedBug2005-12-13SESSION variables
#7305ClosedReq0.1.82006-04-05add spaces before and after array key-value pair assignator (=>)
#7306BogusReq0.1.82006-04-05add comma after last array element
#7307No FeedbackBug0.1.82006-04-05first lines are intended if ListClassFunction is enabled
#7308ClosedBug0.1.82006-04-05typo in "How to use PHP_Beautifier": 'standar' should be 'standard'
#7309No FeedbackReq0.1.82006-04-05please also recognize short open tags
#7310BogusReq0.1.82006-04-05rewrite include/require to single quotes without ()
#7311BogusReq0.1.82006-04-05rewrite doubel quoted strings
#7312ClosedReq0.1.82006-04-05missing spaces with < operator
#7313BogusReq0.1.82006-04-05missing spaces around concat operator
#7346BogusBug0.1.82006-04-09missing new line between functions in pear filter
#7347ClosedBug0.1.102006-04-09[PEAR-filter] control structures indented incorrecly
#7348ClosedReq0.1.82006-04-09always lowercased statements
#7759ClosedBug0.1.92006-05-30comment after case causes mistake
#7776OpenBug0.1.152006-06-01Problem with recursivity scanning and outputing
#7818ClosedBug0.1.92006-06-06Curly brackets being treated as method body
#7825ClosedReq0.1.102006-06-06Add token for string concat
#7854BogusReq0.1.102006-06-10Rewrite T_OPEN_TAG_WITH_ECHO
#8327ClosedReq0.1.112006-07-31Layout of for loop
#8362BogusBug0.1.112006-08-04curly-braces for control structures
#9078ClosedBug0.1.112006-10-18php_beautifier script use addFilter defore addFilterDirectory
#10019AssignedBug0.1.112007-02-03switch indent
#10091ClosedBug0.1.122007-02-13CS issue: throw should not have parens
#10839ClosedBug0.1.132007-04-25T_CLONE and T_ARRAY formatting bugs with default filter
#11245ClosedBug0.1.132007-06-07Lowercase filter prepends ' '
#11661ClosedBug0.1.132007-07-21Function getPreviousWhitespace Overly Aggressive
#11662ClosedReq0.1.132007-07-21Please add T_DOUBLE_QUOTE to $aTokensToChange
#11941ClosedBug0.1.132007-08-30Double Ternary Issue
#12271AssignedReq0.1.132007-10-18Don't strip all blank lines
#13600ClosedBug0.1.132008-04-05Pear filter appends space to function definition line
#13601ClosedReq0.1.132008-04-05cannot trivially find the current version
#13602ClosedBug0.1.132008-04-05Pear filter breaks output - for valid, curly syntax "$this->{$method}();"
#13795ClosedBug0.1.132008-04-28"else echo" gets turned into "elseecho"
#13803AssignedBug0.1.132008-04-29switches not properly indenting with IndentStyles(style=bsd)
#13805ClosedBug0.1.132008-04-30PEAR filter and switch indent
#13859ClosedReq0.1.132008-05-09Improve operator parsing / formatting
#13860No FeedbackBug0.1.132008-05-09control sequences not correctly handled
#13861ClosedBug2008-05-09indentation in /**/ dropped
#14128DuplicateBug0.1.152008-06-12Output Filenames modification
#14175ClosedBug0.1.132008-06-17HEREDOC: failure when heredoc string enclosed in function call
#14293ClosedDoc2008-07-04typo in documentation
#14396ClosedReqCVS2008-07-23Lowercase filter to handle TRUE and FALSE
#14429ClosedBug0.1.142008-07-31Braces within strings break
#14459No FeedbackBug0.1.142008-08-06Double braces cause Token Error
#14537ClosedBug0.1.142008-08-21PHP_Beautifier breaks php 5.3 code
#14575AssignedBug0.1.142008-08-27PHP_Beautifier does not indent switch correctly
#14589BogusReq0.1.142008-09-03the beautifier shouldn't delete empty rows i use for making readable the code
#14593BogusReq0.1.142008-09-04Line length
#14754ClosedBug0.1.142008-10-06Comment at end of function throws off control sequence
#14761ClosedBug0.1.142008-10-08do {} while () syntax messes up control sequence
#15061ClosedReq0.1.142008-11-17Exclamation should be treated as operator
#16178ClosedBug0.1.142009-05-04Header Comment Blocks (Docblocks) aren't fixed or made pretty
#16194BogusBug0.1.142009-05-07Opening brace should be on a new line
#16195BogusBug2009-05-07Function name "package_function" is prefixed with a package name but does not..
#16196OpenReq0.1.142009-05-07Line exceeds 85 characters
#16197ClosedReq0.1.142009-05-07Equals sign not aligned with surrounding assignments
#16991ClosedBug0.1.142010-01-13fluent interface is not parsed
#17022ClosedBug0.1.142010-01-22Crashes with "Argument #2 not an array"
#17063ClosedBug0.1.142010-02-03Pear filter generates sometimes invalid code in switches
#17196BogusReq0.1.142010-03-05Short opening tag of "<?" deactivates beautifier.
#17278ClosedBugUnknown2010-03-29Continue 2; not processed correctly
#17661ClosedBug2010-08-05php_beautifier emits notices for php < 5.3
#17780OpenBug0.1.152010-08-21Associative arrays indent incorrectly with BSD, GNU, WS filters
#18243OpenBug0.1.152011-02-05command line options
#18444OpenReq0.1.152011-04-14Remove the use of PEAR_Config, PEAR_Registry
#18794BogusBug0.1.152011-09-06Install Failing
#19048OpenBug0.1.152011-11-16Switch without break causes all subsequent lines to be indented improperly
#19349OpenBug0.1.152012-03-26elseif bug
#19783OpenBug0.1.152013-01-14{} after case after switch cause Fatal error: Uncaught exception 'Exception'
#19979OpenBug0.1.152013-06-17dependencis missing
#19981OpenBug0.1.152013-06-17some automatic requires are missing
#20405OpenBug0.1.152014-09-11simple patch for dirname() return dot
#20533OpenBug0.1.152015-04-20help for php_beautifier Pear.filter.php question