mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 03:16:34 +00:00
3491e3590e6f0ff000372dabbaf9c3ba4c18ebb6
This PR was merged into the 1.x branch.
Discussion
----------
Don't throw error on validate or parse name if throw var is false
As spotted here https://github.com/symfony/symfony/issues/28001 `$loader->exists('@foo')` shouldn't throw an exception. e.g.: https://github.com/symfony/symfony/blob/9bfa971bc5662a6f90408b58a7b2453d7dae4f83/src/Symfony/Component/HttpKernel/Fragment/HIncludeFragmentRenderer.php#L145
Commits
-------
a0e8d58a Do not throw error on validate or parse name if throw var is false
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%