The use of \Twig_SimpleFilter in the tests or function array triggers deprecation warnings.
DEPRECATED - Using an instance of "Twig_SimpleFilter" for function "0" is deprecated.
Use Twig_SimpleFunction instead.
DEPRECATED - Using an instance of "Twig_SimpleFilter" for test "0" is deprecated.
Use Twig_SimpleTest instead.
The use of
\Twig_SimpleFilter
in the tests or function array triggers deprecation warnings.