Skip to content

Commit 4fdc5c5

Browse files
committed
enabling error handler
1 parent fd6bc65 commit 4fdc5c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/autoload.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
use PhpPlatform\Mock\Config\MockSettings;
4+
use PhpPlatform\Errors\ErrorHandler;
45

56
include_once dirname(__FILE__).'/../vendor/autoload.php';
67

@@ -24,4 +25,5 @@ function getallheaders(){
2425
MockSettings::setSettings('php-platform/persist', 'connection-class', 'PhpPlatform\Tests\SearchQueryParser\MockDataBase');
2526

2627
// set date_default_timezone_set
28+
ErrorHandler::handleError();
2729
date_default_timezone_set('Asia/Kolkata');

0 commit comments

Comments
 (0)