pushed. Thanks, Fabien
-- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.org | fabien.potencier.org Tél: +33 1 40 99 80 80 On 7/7/10 5:45 AM, Brandon Turner wrote:
git://github.com/blt04/symfony.git disable_error_handler http://trac.symfony-project.org/ticket/8823 PHPUnit has built in support for testing if PHP errors are thrown by looking for special exception classes: * PHPUnit_Framework_Error * PHPUnit_Framework_Warning * PHPUnit_Framework_Notice This support is only enabled if no other error handlers are registered. The Symfony kernel registers an error handler by default, thus disabling PHPUnit's special PHP error exceptions if the kernel has been booted in a unit/functional test. This patch adds support for a new configuration parameter, error_handler.enable, which can prevent the Symfony error handler from registering if set to false. With this patch, by default the error handler will be disabled in the test environment. To enable it, add the following to your config_test.yml: parameters: error_handler.enable: true -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
-- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
