We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35a2a54 commit fe8367bCopy full SHA for fe8367b
Test/KernelTestCase.php
@@ -11,7 +11,6 @@
11
12
namespace Symfony\Bundle\FrameworkBundle\Test;
13
14
-use PHPUnit\Framework\Attributes\AfterClass;
15
use PHPUnit\Framework\TestCase;
16
use Symfony\Component\DependencyInjection\Container;
17
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -121,11 +120,8 @@ protected static function createKernel(array $options = []): KernelInterface
121
120
122
/**
123
* Shuts the kernel down if it was used in the test - called by the tearDown method by default.
124
- *
125
- * @afterClass
126
*/
127
- #[AfterClass]
128
- public static function ensureKernelShutdown()
+ protected static function ensureKernelShutdown()
129
{
130
if (null !== static::$kernel) {
131
static::$kernel->boot();
0 commit comments