FEDORA-2017-6e130bed41 created by remi 3 years ago for Fedora 24

Version 3.0.4 (2017-02-10)

  • Fixed some extensibility issues in pretty printer (pUseType() is now public and pPrec() calls into p(), instead of directly dispatching to the type-specific printing method).
  • Fixed notice in bin/php-parse script.
  • Error recovery from missing semicolons is now supported in more cases.
  • Error recovery from trailing commas in positions where PHP does not support them is now supported.

Version 3.0.3 (2017-02-03)

  • In "$foo[0]" the 0 is now parsed as an LNumber rather than String. (#325)
  • Ensure integers and floats are always pretty printed preserving semantics, even if the particular value can only be manually constructed.
  • Throw a LogicException when trying to pretty-print an Error node. Previously this resulted in an undefined method exception or fatal error.
  • [PHP 7.1] Added support for negative interpolated offsets: "$foo[-1]"
  • Added preserveOriginalNames option to NameResolver. If this option is enabled, an originalName attribute, containing the unresolved name, will be added to each resolved name.
  • Added php-parse --with-positions option, which dumps nodes with position information.
  • The XML serializer has been deprecated. In particular, the classes Serializer\XML, Unserializer\XML, as well as the interfaces Serializer and Unserializer are deprecated.

How to install

sudo dnf upgrade --advisory=FEDORA-2017-6e130bed41

This update has been submitted for testing by remi.

3 years ago

This update has obsoleted php-nikic-php-parser3-3.0.3-1.fc24, and has inherited its bugs and notes.

3 years ago

This update has been pushed to testing.

3 years ago

This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes

3 years ago

This update has been submitted for stable by remi.

3 years ago

This update has been pushed to stable.

3 years ago

Please login to add feedback.

Content Type
Test Gating
Unstable by Karma
Stable by Karma
Stable by Time
3 years ago
in testing
3 years ago
in stable
3 years ago

Automated Test Results