obsolete

php-twig2-2.11.0-1.fc30

FEDORA-2019-83a5d0748a created by remi 7 years ago for Fedora 30

Version 2.11.0 (2019-05-31)

  • added the possibility to register classes/interfaces as being safe for the escaper ("EscaperExtension::addSafeClass()")
  • deprecated CoreExtension::setEscaper() and CoreExtension::getEscapers() in favor of the same methods on EscaperExtension
  • macros are now auto-imported in the template they are defined (under the _self variable)
  • added support for macros on "is defined" tests
  • fixed macros "import" when using the same name in the parent and child templates
  • fixed recursive macros
  • macros imported "globally" in a template are now available in macros without re-importing them
  • fixed the "filter" filter when the argument is \Traversable but does not implement \Iterator (\SimpleXmlElement for instance)
  • fixed a PHP fatal error when calling a macro imported in a block in a nested block
  • fixed a PHP fatal error when calling a macro imported in the template in another macro
  • fixed wrong error message on "import" and "from"

This update has been submitted for testing by remi.

7 years ago

This update test gating status has been changed to 'waiting'.

7 years ago

This update test gating status has been changed to 'ignored'.

7 years ago

This update has been pushed to testing.

7 years ago

This update has been obsoleted by php-twig2-2.11.1-1.fc30.

7 years ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Thresholds
Minimum Karma
+1
Minimum Testing
7 days
Dates
submitted
7 years ago
in testing
7 years ago

Automated Test Results