mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
Deprecation documentation indentation
Fix the indentation in Errors on "Deprecated Features" and add missing full stop
This commit is contained in:
+4
-4
@@ -21,9 +21,9 @@ Inheritance
|
|||||||
Errors
|
Errors
|
||||||
------
|
------
|
||||||
|
|
||||||
* Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` /
|
* Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` /
|
||||||
``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an
|
``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an
|
||||||
instance of ``Twig\Source`` instead.
|
instance of ``Twig\Source`` instead.
|
||||||
|
|
||||||
Tags
|
Tags
|
||||||
----
|
----
|
||||||
@@ -41,7 +41,7 @@ Tags
|
|||||||
|
|
||||||
* Adding an ``if`` condition on a ``for`` tag is deprecated in Twig 2.10. Use a
|
* Adding an ``if`` condition on a ``for`` tag is deprecated in Twig 2.10. Use a
|
||||||
``filter`` filter or an "if" condition inside the "for" body instead (if your condition
|
``filter`` filter or an "if" condition inside the "for" body instead (if your condition
|
||||||
depends on a variable updated inside the loop)
|
depends on a variable updated inside the loop).
|
||||||
|
|
||||||
Final Classes
|
Final Classes
|
||||||
-------------
|
-------------
|
||||||
|
|||||||
Reference in New Issue
Block a user