twigphp / Twig

Twig, the flexible, fast, and secure template language for PHP
https://twig.symfony.com/
BSD 3-Clause "New" or "Revised" License
8.18k stars 1.25k forks source link

Fix Xdebug detection #4267

Closed derrabus closed 2 months ago

derrabus commented 2 months ago

The ini setting xdebug.overload_var_dump has been removed in Xdebug 3. The var_dump() method is now always overloaded if the Xdebug runs in develop mode. I've adjusted our detection logic accordingly.

Since our minimum PHP version is 8.0 now, we can stop caring about Xdebug 2 which has never received a PHP 8 compatible release.

fabpot commented 2 months ago

Thank you @derrabus.