File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 50
50
use Symfony \Component \DependencyInjection \ParameterBag \ParameterBagInterface ;
51
51
use Symfony \Component \DependencyInjection \Reference ;
52
52
use Symfony \Component \DependencyInjection \ServiceLocator ;
53
- use Symfony \Component \DependencyInjection \ServiceSubscriberInterface ;
54
53
use Symfony \Component \EventDispatcher \EventSubscriberInterface ;
55
54
use Symfony \Component \ExpressionLanguage \ExpressionLanguage ;
56
55
use Symfony \Component \Finder \Finder ;
102
101
use Symfony \Component \Yaml \Command \LintCommand as BaseYamlLintCommand ;
103
102
use Symfony \Component \Yaml \Yaml ;
104
103
use Symfony \Contracts \Service \ResetInterface ;
104
+ use Symfony \Contracts \Service \ServiceSubscriberInterface ;
105
105
106
106
/**
107
107
* FrameworkExtension.
Original file line number Diff line number Diff line change 13
13
14
14
use PHPUnit \Framework \TestCase ;
15
15
use Symfony \Component \DependencyInjection \ContainerInterface ;
16
- use Symfony \Component \DependencyInjection \ResettableContainerInterface ;
17
16
use Symfony \Component \HttpKernel \KernelInterface ;
17
+ use Symfony \Contracts \Service \ResetInterface ;
18
18
19
19
/**
20
20
* KernelTestCase is the base class for tests needing a Kernel.
@@ -119,7 +119,7 @@ protected static function ensureKernelShutdown()
119
119
if (null !== static ::$ kernel ) {
120
120
$ container = static ::$ kernel ->getContainer ();
121
121
static ::$ kernel ->shutdown ();
122
- if ($ container instanceof ResettableContainerInterface ) {
122
+ if ($ container instanceof ResetInterface ) {
123
123
$ container ->reset ();
124
124
}
125
125
}
You can’t perform that action at this time.
0 commit comments