Fedora 20 Update: php-PHPParser-0.9.4-1.fc20

updates at fedoraproject.org updates at fedoraproject.org
Sun Nov 24 03:54:17 UTC 2013


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2013-21516
2013-11-16 05:31:15
--------------------------------------------------------------------------------

Name        : php-PHPParser
Product     : Fedora 20
Version     : 0.9.4
Release     : 1.fc20
URL         : https://github.com/nikic/PHP-Parser
Summary     : A PHP parser written in PHP
Description :
A PHP parser written in PHP to simplify static analysis and code manipulation.

--------------------------------------------------------------------------------
Update Information:

Updated to 0.9.4

* [PHP 5.5] Add support for ClassName::class. This is parsed as an Expr_ClassConstFetch with 'class' being the constant name.
* Syntax errors now include information on expected tokens and mimic the format of PHP's own (pre 5.4) error messages.
* PHPParser_PrettyPrinter_Zend was renamed to PHPParser_PrettyPrinter_Default as the default pretty printer only very loosely applies the Zend Coding Standard. The class PHPParser_PrettyPrinter_Zend extends PHPParser_PrettyPrinter_Default to maintain backwards compatibility.
* The pretty printer now prints namespaces in semicolon-style if possible (i.e. if the file does not contain a global namespace declaration).
* Added prettyPrintFile(array $stmts) method which will pretty print a file of statements including the opening <?php tag if it is required. Use of this method will also eliminate the unnecessary <?php ?> at the start and end of files using inline HTML.
* There now is a builder for interfaces (PHPParser_Builder_Interface).
* An interface for the node traversation has been added: PHPParser_NodeTraverserInterface
* Fix pretty printing of include expressions (precedence information was missing).
* Improve performance of PrettyPrinter construction by no longer using the uniqid() function.

Change log: https://github.com/nikic/PHP-Parser/releases/tag/v0.9.4
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1001126 - php-PHPParser-0.9.4 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=1001126
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update php-PHPParser' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list