Skip to content

Commit 0395b70

Browse files
Merge branch '4.2'
* 4.2: New extensions were released supporting PHP 7.3 Remove "internal" annotation from datacollector serialization methods replace mocks with real objects in tests [DependencyInjection] fix #29930 add $lazyLoad flag to the generated factory code for lazy non-shared services escape function does not always take a string Fix phpunit 8 compatibility render integer types with grouping as text input ignore _method forms in NativeRequestHandler don't lose int precision with not needed type casts
2 parents 508de67 + c726ac9 commit 0395b70

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Test/KernelTestCase.php

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

114114
/**
115+
* @after
116+
*
115117
* Shuts the kernel down if it was used in the test.
116118
*/
117119
protected static function ensureKernelShutdown()
@@ -125,12 +127,4 @@ protected static function ensureKernelShutdown()
125127
}
126128
static::$container = null;
127129
}
128-
129-
/**
130-
* Clean up Kernel usage in this test.
131-
*/
132-
protected function tearDown()
133-
{
134-
static::ensureKernelShutdown();
135-
}
136130
}

0 commit comments

Comments
 (0)