mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 11:56:50 +00:00
b3f953c13278ac1c62dddec37437da8b1423de4a
This PR was merged into the 3.x branch.
Discussion
----------
Fix integration tests when a test has more than on data/expect section and deprecations
Fixes #4186
As deprecations are emitted at compile time, we need to make sure templates are always compiled even when we have more than one data/expect section (in which case the templates are the same). The trick here is to add some whitespace at the end of the template.
Commits
-------
a5dc02bb Fix integration tests when a test has more than on data/expect section and deprecations
bug #4187 Fix integration tests when a test has more than on data/expect section and deprecations (fabpot)
Twig, the flexible, fast, and secure template language for PHP
==============================================================
Twig is a template language for PHP.
Twig uses a syntax similar to the Django and Jinja template languages which
inspired the Twig runtime environment.
Sponsors
--------
.. raw:: html
<a href="https://docs.blackfire.io/introduction?utm_source=twig&utm_medium=github_readme&utm_campaign=logo">
<img src="https://static.blackfire.io/assets/intemporals/logo/png/blackfire-io_secondary_horizontal_transparent.png?1" width="255px" alt="Blackfire.io">
</a>
More Information
----------------
Read the `documentation`_ for more information.
.. _documentation: https://twig.symfony.com/documentation
Description
Languages
PHP
99.9%