Skip to content

Commit

Permalink
Fix phpunit 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Feb 7, 2019
1 parent 034cd46 commit 83a56a0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
Expand Up @@ -208,6 +208,8 @@ protected static function createKernel(array $options = [])
}

/**
* @after
*
* Shuts the kernel down if it was used in the test.
*/
protected static function ensureKernelShutdown()
Expand All @@ -220,12 +222,4 @@ protected static function ensureKernelShutdown()
}
}
}

/**
* Clean up Kernel usage in this test.
*/
protected function tearDown()
{
static::ensureKernelShutdown();
}
}

0 comments on commit 83a56a0

Please sign in to comment.