From af2ab405f0b6095fda85a91968fa8a9d6b176665 Mon Sep 17 00:00:00 2001 From: Alex Longshaw Date: Sun, 17 May 2020 14:50:59 +0100 Subject: [PATCH] Deprecation documentation indentation Fix the indentation in Errors on "Deprecated Features" and add missing full stop --- doc/deprecated.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/deprecated.rst b/doc/deprecated.rst index d7a6145ed..451270371 100644 --- a/doc/deprecated.rst +++ b/doc/deprecated.rst @@ -21,9 +21,9 @@ Inheritance Errors ------ - * Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` / - ``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an - instance of ``Twig\Source`` instead. +* Passing a string as the ``$source`` argument on ``\Twig\Error\Error`` / + ``Twig\Error\Error`` constructor is deprecated since Twig 2.6.1. Pass an + instance of ``Twig\Source`` instead. Tags ---- @@ -41,7 +41,7 @@ Tags * 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 - depends on a variable updated inside the loop) + depends on a variable updated inside the loop). Final Classes -------------