Skip to content

Commit 7b1d5ad

Browse files
committed
chore: annotate ensureKernelShutdown with AfterClass attribute
1 parent 8d81b0d commit 7b1d5ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Test;
1313

14+
use PHPUnit\Framework\Attributes\AfterClass;
1415
use PHPUnit\Framework\TestCase;
1516
use Symfony\Component\DependencyInjection\Container;
1617
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -123,6 +124,7 @@ protected static function createKernel(array $options = []): KernelInterface
123124
*
124125
* @afterClass
125126
*/
127+
#[AfterClass]
126128
public static function ensureKernelShutdown()
127129
{
128130
if (null !== static::$kernel) {

0 commit comments

Comments
 (0)