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:
Nicolas Grekas 2015-04-07 14:20:59 +02:00
commit 9ca8709c47
1 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,10 @@ class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase
public function testUnsilencing()
{
if (PHP_VERSION_ID >= 70000) {
$this->markTestSkipped('PHP7 throws exceptions, unsilencing is not required anymore.');
}
ob_start();
$this->iniSet('log_errors', 0);