I'm using PHPUnit 4.8 on a PHP 5.3.29 install. Some of the code in our application makes use of the deprecated mysql_*
functionality, and PHPUnit converts the deprecation notices of these instances to exceptions and in turn fails those specific testcases.
Now I've already included the convertErrorsToExceptions="false"
in the config.xml but this doesn't seem to help as it's still happening.
Can anyone help shed some light on what might be happening here?
Cheers!
EDIT: Added example files on gist.github.com
if you are looking solution for Symfony 3.1 and higher versions, the answer is
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With