Fabien Potencier 495df6575a bug #2928 Disable xdebug var_dump overload for tests (fancyweb)
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
2019-04-07 18:38:38 +02:00
2019-04-03 10:28:54 +02:00
2019-03-20 19:20:25 +01:00
2019-02-15 06:17:13 +01:00
2019-02-14 07:43:01 +01:00
2019-04-03 10:28:54 +02:00
2019-01-01 18:34:43 +01:00

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
Languages
PHP 99.9%