minor #2678 Added missing edge-cases (ismael-miguel)
minor #2678 Added missing edge-cases (ismael-miguel)

This PR was merged into the 1.x branch.

Discussion
----------

Added missing edge-cases

Discussion on: https://github.com/twigphp/Twig/issues/2677

Commits
-------

22739e7d Added missing edge-cases

twigphp/Twig,nicolas-grekas/Twig,twigphp/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,twigphp/Twig,nicolas-grekas/Twig