8000 Fix phpunit 8 compatibility · symfony/symfony@83a56a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 83a56a0

Browse files
Fix phpunit 8 compatibility
1 parent 034cd46 commit 83a56a0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ protected static function createKernel(array $options = [])
208208
}
209209

210210
/**
211+
* @after
212+
*
211213
* Shuts the kernel down if it was used in the test.
212214
*/
213215
protected static function ensureKernelShutdown()
@@ -220,12 +222,4 @@ protected static function ensureKernelShutdown()
220222
}
221223
}
222224
}
223-
224-
/**
225-
* Clean up Kernel usage in this test.
226-
*/
227-
protected function tearDown()
228-
{
229-
static::ensureKernelShutdown();
230-
}
231225
}

0 commit comments

Comments
 (0)
0