From d8ba2cd7030cd7156fd11c3174df5e43d686499d Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 4 Sep 2018 08:24:48 +0200 Subject: [PATCH] fixed usage of setUp in tests --- .../DependencyInjection/Tests/ParameterBag/ContainerBagTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php index a5e358dd1f..7b9d1dc5da 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php @@ -26,7 +26,7 @@ class ContainerBagTest extends TestCase /** @var ContainerBag */ private $containerBag; - public function setUp() + protected function setUp() { $this->parameterBag = new ParameterBag(array('foo' => 'value')); $this->containerBag = new ContainerBag(new Container($this->parameterBag));