mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Add error reporting setting
Conflicts: tests/classes/PhraseanetTestCase.php
This commit is contained in:
@@ -109,6 +109,7 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
|
||||
|
||||
connection::close_connections();
|
||||
|
||||
error_reporting(-1);
|
||||
\PHPUnit_Framework_Error_Warning::$enabled = true;
|
||||
\PHPUnit_Framework_Error_Notice::$enabled = true;
|
||||
|
||||
|
@@ -14,6 +14,8 @@ use Symfony\Component\Debug\ErrorHandler;
|
||||
|
||||
require_once __DIR__ . '/../lib/autoload.php';
|
||||
|
||||
error_reporting(0);
|
||||
|
||||
ErrorHandler::register();
|
||||
|
||||
$environment = Application::ENV_PROD;
|
||||
|
@@ -14,6 +14,8 @@ use Symfony\Component\Debug\ErrorHandler;
|
||||
|
||||
require_once __DIR__ . "/../lib/autoload.php";
|
||||
|
||||
error_reporting(0);
|
||||
|
||||
ErrorHandler::register();
|
||||
|
||||
$environment = Application::ENV_PROD;
|
||||
|
@@ -14,6 +14,8 @@ use Symfony\Component\Debug\ErrorHandler;
|
||||
|
||||
require_once __DIR__ . "/../lib/autoload.php";
|
||||
|
||||
error_reporting(-1);
|
||||
|
||||
ErrorHandler::register();
|
||||
|
||||
$environment = Application::ENV_DEV;
|
||||
|
Reference in New Issue
Block a user