This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests
Brandon Turner 4b24544cda Added ability to disable Symfony's error handler.
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.

This commit adds support for a new configuration parameter,
error_handler.enable, which can prevent the Symfony error handler from
registering if set to false.

After this commit, 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
2010-07-06 22:31:29 -05:00
..
Symfony/Tests Added ability to disable Symfony's error handler. 2010-07-06 22:31:29 -05:00
bootstrap.php simplified bootstrap.php 2010-06-30 10:29:27 +02:00