minor #14248 [Debug] Skip unsilencing test on PHP7 (nicolas-grekas)
This PR was merged into the 2.6 branch. Discussion ---------- [Debug] Skip unsilencing test on PHP7 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #14227 | License | MIT | Doc PR | - Commits ------- 6a87ad3 [Debug] Skip unsilencing test on PHP7
This commit is contained in:
commit
9ca8709c47
@ -61,6 +61,10 @@ class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
public function testUnsilencing()
|
public function testUnsilencing()
|
||||||
{
|
{
|
||||||
|
if (PHP_VERSION_ID >= 70000) {
|
||||||
|
$this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
|
||||||
|
}
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
$this->iniSet('log_errors', 0);
|
$this->iniSet('log_errors', 0);
|
||||||
|
Reference in New Issue
Block a user