@@ -27,12 +27,12 @@ public function testDumpContainerIfNotExists()
2727 $ application = new Application (static ::$ kernel );
2828 $ application ->setAutoExit (false );
2929
30- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
30+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
3131
3232 $ tester = new ApplicationTester ($ application );
3333 $ tester ->run (['command ' => 'debug:container ' ]);
3434
35- $ this ->assertFileExists (static ::$ container ->getParameter ('debug.container.dump ' ));
35+ $ this ->assertFileExists (static ::getContainer () ->getParameter ('debug.container.dump ' ));
3636 }
3737
3838 public function testNoDebug ()
@@ -91,7 +91,7 @@ public function testDescribeEnvVars()
9191 $ application = new Application (static ::$ kernel );
9292 $ application ->setAutoExit (false );
9393
94- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
94+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
9595
9696 $ tester = new ApplicationTester ($ application );
9797 $ tester ->run (['command ' => 'debug:container ' , '--env-vars ' => true ], ['decorated ' => false ]);
@@ -128,7 +128,7 @@ public function testDescribeEnvVar()
128128 $ application = new Application (static ::$ kernel );
129129 $ application ->setAutoExit (false );
130130
131- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
131+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
132132
133133 $ tester = new ApplicationTester ($ application );
134134 $ tester ->run (['command ' => 'debug:container ' , '--env-var ' => 'js ' ], ['decorated ' => false ]);
@@ -156,7 +156,7 @@ public function testGetDeprecation()
156156 $ application = new Application (static ::$ kernel );
157157 $ application ->setAutoExit (false );
158158
159- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
159+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
160160
161161 $ tester = new ApplicationTester ($ application );
162162 $ tester ->run (['command ' => 'debug:container ' , '--deprecations ' => true ]);
@@ -176,7 +176,7 @@ public function testGetDeprecationNone()
176176 $ application = new Application (static ::$ kernel );
177177 $ application ->setAutoExit (false );
178178
179- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
179+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
180180
181181 $ tester = new ApplicationTester ($ application );
182182 $ tester ->run (['command ' => 'debug:container ' , '--deprecations ' => true ]);
@@ -194,7 +194,7 @@ public function testGetDeprecationNoFile()
194194 $ application = new Application (static ::$ kernel );
195195 $ application ->setAutoExit (false );
196196
197- @unlink (static ::$ container ->getParameter ('debug.container.dump ' ));
197+ @unlink (static ::getContainer () ->getParameter ('debug.container.dump ' ));
198198
199199 $ tester = new ApplicationTester ($ application );
200200 $ tester ->run (['command ' => 'debug:container ' , '--deprecations ' => true ]);
0 commit comments