mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
eb8997192546e8b372587812356c40959d3977a1
This PR was squashed before being merged into the 1.x branch (closes #2879). Discussion ---------- Try to avoid guessing template info on errors Right now, for syntax errors triggered in a Node, we guess the template line and source, but we then try to set the information in the Parser class. This PR avoids the guessing as it's slow. Commits -------69c0539cremoved -2 magic number2389faeatried to avoid guessing template info on errors
Twig, the flexible, fast, and secure template language for PHP ============================================================== Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment. More Information ---------------- Read the `documentation`_ for more information. .. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%