File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
src/Symfony/Bundle/FrameworkBundle/Test Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,9 @@ protected static function createKernel(array $options = []): KernelInterface
112
112
113
113
/**
114
114
* Shuts the kernel down if it was used in the test - called by the tearDown method by default.
115
+ * @afterClass
115
116
*/
116
- protected static function ensureKernelShutdown ()
117
+ public static function ensureKernelShutdown ()
117
118
{
118
119
if (null !== static ::$ kernel ) {
119
120
static ::$ kernel ->boot ();
@@ -132,14 +133,4 @@ protected static function ensureKernelShutdown()
132
133
}
133
134
}
134
135
}
135
-
136
- /**
137
- * Ensures the Kernel is shut down after all tests in the class have run.
138
- *
139
- * @afterClass
140
- */
141
- public static function ensureKernelShutdownAfterClass (): void
142
- {
143
- static ::ensureKernelShutdown ();
144
- }
145
136
}
You can’t perform that action at this time.
0 commit comments