Skip to content

Commit e96fa50

Browse files
authored
Ensure error reporting is set to all in tests (cebe#167)
2 parents cefb24c + 28dce59 commit e96fa50

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/bootstrap.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
3+
error_reporting(-1);
4+
ini_set('display_errors', '1');
5+
ini_set('display_startup_errors', '1');
6+
27
defined('YII_DEBUG') or define('YII_DEBUG', true);
38
defined('YII_ENV') or define('YII_ENV', 'test');
49
require __DIR__ . '/../vendor/autoload.php';

0 commit comments

Comments
 (0)