mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
merge the Nodes and Node sections
This commit is contained in:
+18
-21
@@ -199,6 +199,24 @@ Nodes
|
|||||||
* The ``is_defined_test`` attribute is deprecated as of Twig 3.21, use
|
* The ``is_defined_test`` attribute is deprecated as of Twig 3.21, use
|
||||||
``Twig\Node\Expression\SupportDefinedTestInterface`` instead.
|
``Twig\Node\Expression\SupportDefinedTestInterface`` instead.
|
||||||
|
|
||||||
|
* Instantiating ``Twig\Node\Node`` directly is deprecated as of Twig 3.15. Use
|
||||||
|
``EmptyNode`` or ``Nodes`` instead depending on the use case. The
|
||||||
|
``Twig\Node\Node`` class will be abstract in Twig 4.0.
|
||||||
|
|
||||||
|
* Not passing ``AbstractExpression`` arguments to the following ``Node`` class
|
||||||
|
constructors is deprecated as of Twig 3.15:
|
||||||
|
|
||||||
|
* ``AbstractBinary``
|
||||||
|
* ``AbstractUnary``
|
||||||
|
* ``BlockReferenceExpression``
|
||||||
|
* ``TestExpression``
|
||||||
|
* ``DefinedTest``
|
||||||
|
* ``FilterExpression``
|
||||||
|
* ``RawFilter``
|
||||||
|
* ``DefaultFilter``
|
||||||
|
* ``InlinePrint``
|
||||||
|
* ``NullCoalesceExpression``
|
||||||
|
|
||||||
Node Visitors
|
Node Visitors
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@@ -357,27 +375,6 @@ Functions/Filters/Tests
|
|||||||
``TwigFunction::getSafe()`` is deprecated as of Twig 3.16; return ``[]``
|
``TwigFunction::getSafe()`` is deprecated as of Twig 3.16; return ``[]``
|
||||||
instead.
|
instead.
|
||||||
|
|
||||||
Node
|
|
||||||
----
|
|
||||||
|
|
||||||
* Instantiating ``Twig\Node\Node`` directly is deprecated as of Twig 3.15. Use
|
|
||||||
``EmptyNode`` or ``Nodes`` instead depending on the use case. The
|
|
||||||
``Twig\Node\Node`` class will be abstract in Twig 4.0.
|
|
||||||
|
|
||||||
* Not passing ``AbstractExpression`` arguments to the following ``Node`` class
|
|
||||||
constructors is deprecated as of Twig 3.15:
|
|
||||||
|
|
||||||
* ``AbstractBinary``
|
|
||||||
* ``AbstractUnary``
|
|
||||||
* ``BlockReferenceExpression``
|
|
||||||
* ``TestExpression``
|
|
||||||
* ``DefinedTest``
|
|
||||||
* ``FilterExpression``
|
|
||||||
* ``RawFilter``
|
|
||||||
* ``DefaultFilter``
|
|
||||||
* ``InlinePrint``
|
|
||||||
* ``NullCoalesceExpression``
|
|
||||||
|
|
||||||
Operators
|
Operators
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user