Skip to content

Commit 4889e11

Browse files
committed
removed phpunit 6 compatibility hack
1 parent b38c0f5 commit 4889e11

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tests/_bootstrap.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@
88
* @copyright Copyright (c) 2016-2017, HiQDev (http://hiqdev.com/)
99
*/
1010

11-
error_reporting(E_ALL & ~E_NOTICE);
11+
error_reporting(E_ALL);
1212

1313
require_once __DIR__ . '/../vendor/autoload.php';
14-
15-
/*
16-
* Ensures compatibility with PHPUnit 6.x
17-
*/
18-
if (!class_exists('PHPUnit_Framework_Constraint') && class_exists('PHPUnit\Framework\Constraint\Constraint')) {
19-
abstract class PHPUnit_Framework_Constraint extends \PHPUnit\Framework\Constraint\Constraint
20-
{
21-
}
22-
}
23-
if (!class_exists('PHPUnit_Framework_TestCase') && class_exists('PHPUnit\Framework\TestCase')) {
24-
abstract class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase
25-
{
26-
}
27-
}

0 commit comments

Comments
 (0)