Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

264 lines (253 sloc) 11.634 kb
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.0" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>PHP_Beautifier</name>
<channel>pear.php.net</channel>
<summary>Beautifier for Php</summary>
<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.</description>
<lead>
<name>Claudio Bustos</name>
<user>clbustos</user>
<email>clbustos_at_gmail</email>
<active>yes</active>
</lead>
<date>2010-06-04</date>
<time>16:13:00</time>
<version>
<release>0.1.15</release>
<api>0.1.12</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
"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
</notes>
<contents>
<dir name="/">
<dir name="Beautifier">
<dir name="Batch">
<dir name="Output">
<file baseinstalldir="PHP" name="Directory.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="DirectoryBz2.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="DirectoryGz.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="DirectoryTar.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Files.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="FilesBz2.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="FilesGz.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="FilesTar.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Beautifier/Batch/Output -->
<file baseinstalldir="PHP" name="Output.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Beautifier/Batch -->
<dir name="Filter">
<file baseinstalldir="PHP" name="ArrayNested.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Default.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="DocBlock.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="EqualsAlign.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="IndentStyles.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="ListClassFunction.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Lowercase.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="NewLines.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Pear.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="phpBB.filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- Beautifier/Filter -->
<dir name="StreamWrapper">
<file baseinstalldir="PHP" name="Tarz.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- Beautifier/StreamWrapper -->
<file baseinstalldir="PHP" name="Batch.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Decorator.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Exception.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Filter.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="StreamWrapper.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Tokenizer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<!-- Beautifier -->
<dir name="examples">
<file baseinstalldir="PHP" name="example_array.php" role="doc">
</file>
<file baseinstalldir="PHP" name="example_comments.php" role="doc">
</file>
<file baseinstalldir="PHP" name="example_html.php" role="doc" ></file>
<file baseinstalldir="PHP" name="example_lowercase.php" role="doc" ></file>
<file baseinstalldir="PHP" name="example_main.php" role="doc" ></file>
<file baseinstalldir="PHP" name="example_pear.php" role="doc" ></file>
<file baseinstalldir="PHP" name="run_me.php" role="doc" ></file>
</dir> <!-- /examples -->
<dir name="licenses">
<file baseinstalldir="PHP" name="apache.txt" role="data" ></file>
<file baseinstalldir="PHP" name="bsd.txt" role="data" ></file>
<file baseinstalldir="PHP" name="lgpl.txt" role="data" ></file>
<file baseinstalldir="PHP" name="pear.txt" role="data" ></file>
<file baseinstalldir="PHP" name="php.txt" role="data" ></file>
</dir> <!-- /licenses -->
<dir name="scripts">
<file baseinstalldir="/" name="php_beautifier" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="/" name="php_beautifier.bat" role="script">
<tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
<tasks:windowseol />
</file>
</dir> <!-- /scripts -->
<dir name="tests">
<file baseinstalldir="PHP" name="BeautifierBugsTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="BeautifierCommonTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="BeautifierInternalTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="BeautifierTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Helpers.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<dir name='Beautifier'>
<file baseinstalldir="PHP" name="StreamWrapperTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="Beautifier.tar.bz2" role="data" />
<file baseinstalldir="PHP" name="Beautifier.tar.gz" role="data" />
<dir name='Filter'>
<file baseinstalldir="PHP" name="PearTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file baseinstalldir="PHP" name="pear_sample_file.phps" role="data" />
</dir>
</dir>
</dir>
<file baseinstalldir="PHP" name="Beautifier.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
<package>
<name>Log</name>
<channel>pear.php.net</channel>
<min>1.8</min>
</package>
<extension>
<name>tokenizer</name>
</extension>
</required>
<optional>
<package>
<name>PHP_DocBlockGenerator</name>
<channel>pear.php.net</channel>
<min>1</min>
<exclude>1</exclude>
</package>
<package>
<name>Console_Getopt</name>
<channel>pear.php.net</channel>
<min>1</min>
<exclude>1</exclude>
</package>
<package>
<name>Archive_Tar</name>
<channel>pear.php.net</channel>
<min>1.2</min>
</package>
<extension>
<name>bz2</name>
</extension>
</optional>
</dependencies>
<phprelease>
<filelist>
<install as="php_beautifier" name="scripts/php_beautifier" />
<install as="php_beautifier.bat" name="scripts/php_beautifier.bat" />
</filelist>
</phprelease>
<phprelease>
<filelist>
<install as="php_beautifier" name="scripts/php_beautifier" />
<ignore name="scripts/php_beautifier.bat" />
</filelist>
</phprelease>
</package>
Jump to Line
Something went wrong with that request. Please try again.