fabpot/Twig — pull request #1448 by lstrojny (2014-07-13 10:18:02+00:00)
Title: Add tag to partially enable strict mode

### Use cases
- Converting a non-strict twig codebase to a strict codebase by partially enabling strict mode on a single template base
- Enabling strict mode only for certain important templates that have a higher breakage potential

This PR introduces a new tag `{% strict %}` and `{% endstrict %}` to enable strict mode on a block base. It behaves recursively in a way that includes, embeds, etc. in this block are evaluated with strict mode enabled as well.