mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
495df6575aca156f819bb21a2e0bf1430aabc2c4
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes #2928).
Discussion
----------
Disable xdebug var_dump overload for tests
#eufossa
This test template https://github.com/twigphp/Twig/blob/1.x/test/Twig/Tests/Fixtures/tags/sandbox/array.test depends on the `dump` Twig function that depends of `var_dump` PHP function.
If you have xdebug on your local machine, the default value of the `xdebug.overload_var_dump` setting is at `2`. That makes `var_dump` displays the file and the line number of where the `var_dump` was called, making the assertion fail.
Commits
-------
8edd9540 Disable xdebug var_dump overload for tests
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%