Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83a56a0

Browse filesBrowse files
Fix phpunit 8 compatibility
1 parent 034cd46 commit 83a56a0
Copy full SHA for 83a56a0

File tree

1 file changed

+2
-8
lines changed
Filter options

1 file changed

+2
-8
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php
+2-8Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.