mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add error reporting setting
This commit is contained in:
@@ -79,6 +79,7 @@ abstract class PhraseanetTestCase extends WebTestCase
|
|||||||
|
|
||||||
ini_set('memory_limit', '4096M');
|
ini_set('memory_limit', '4096M');
|
||||||
|
|
||||||
|
error_reporting(-1);
|
||||||
\PHPUnit_Framework_Error_Warning::$enabled = true;
|
\PHPUnit_Framework_Error_Warning::$enabled = true;
|
||||||
\PHPUnit_Framework_Error_Notice::$enabled = true;
|
\PHPUnit_Framework_Error_Notice::$enabled = true;
|
||||||
|
|
||||||
|
@@ -14,6 +14,8 @@ use Symfony\Component\Debug\ErrorHandler;
|
|||||||
|
|
||||||
require_once __DIR__ . '/../lib/autoload.php';
|
require_once __DIR__ . '/../lib/autoload.php';
|
||||||
|
|
||||||
|
error_reporting(0);
|
||||||
|
|
||||||
ErrorHandler::register();
|
ErrorHandler::register();
|
||||||
|
|
||||||
$environment = Application::ENV_PROD;
|
$environment = Application::ENV_PROD;
|
||||||
|
@@ -14,6 +14,8 @@ use Symfony\Component\Debug\ErrorHandler;
|
|||||||
|
|
||||||
require_once __DIR__ . "/../lib/autoload.php";
|
require_once __DIR__ . "/../lib/autoload.php";
|
||||||
|
|
||||||
|
error_reporting(0);
|
||||||
|
|
||||||
ErrorHandler::register();
|
ErrorHandler::register();
|
||||||
|
|
||||||
$environment = Application::ENV_PROD;
|
$environment = Application::ENV_PROD;
|
||||||
|
Reference in New Issue
Block a user