Skip to content

Commit

Permalink
minor #14248 [Debug] Skip unsilencing test on PHP7 (nicolas-grekas)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nicolas-grekas committed Apr 7, 2015
2 parents 347b17e + 6a87ad3 commit 9ca8709
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
Expand Up @@ -61,6 +61,10 @@ public function testIdempotence()

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);
Expand Down

0 comments on commit 9ca8709

Please sign in to comment.