mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-18 05:16:30 +00:00
added some notes in deprecated doc
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user