File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
src/Symfony/Bundle/FrameworkBundle/Test Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Bundle \FrameworkBundle \Test ;
1313
14- use PHPUnit \Framework \Attributes \AfterClass ;
1514use PHPUnit \Framework \TestCase ;
1615use Symfony \Component \DependencyInjection \Container ;
1716use Symfony \Component \DependencyInjection \ContainerInterface ;
@@ -121,11 +120,8 @@ protected static function createKernel(array $options = []): KernelInterface
121120
122121 /**
123122 * Shuts the kernel down if it was used in the test - called by the tearDown method by default.
124- *
125- * @afterClass
126123 */
127- #[AfterClass]
128- public static function ensureKernelShutdown ()
124+ protected static function ensureKernelShutdown ()
129125 {
130126 if (null !== static ::$ kernel ) {
131127 static ::$ kernel ->boot ();
You can’t perform that action at this time.
0 commit comments