added some notes in deprecated doc

This commit is contained in:
Fabien Potencier
2019-04-24 15:01:32 +02:00
parent d201b957f6
commit a718842015
+6
View File
@@ -93,3 +93,9 @@ Miscellaneous
``Twig_SimpleTest`` empty classes are deprecated and will be removed in Twig
3.0. Use ``Twig\TwigFilter``, ``Twig\TwigFunction``, and ``Twig\TwigTest``
respectively.
* As of Twig 2.8.2, all usage of
``Twig\Loader\FilesystemLoader::findTemplate()`` check for a ``null`` return
value (same meaning as returning ``false``). If you are overidding
``Twig\Loader\FilesystemLoader::findTemplate()``, you must return ``null`` instead of ``false``
to be compatible with Twig 3.0.