diff --git a/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php b/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php index c82d892557..51a95bc4b5 100644 --- a/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php +++ b/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php @@ -13,7 +13,7 @@ class AppVariableTest extends \PHPUnit_Framework_TestCase */ protected $appVariable; - public function setUp() + protected function setUp() { $this->appVariable = new AppVariable(); } diff --git a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ExtensionCompilerPassTest.php b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ExtensionCompilerPassTest.php index 637ed7b67b..b786db95f6 100644 --- a/src/Symfony/Component/DependencyInjection/Tests/Compiler/ExtensionCompilerPassTest.php +++ b/src/Symfony/Component/DependencyInjection/Tests/Compiler/ExtensionCompilerPassTest.php @@ -21,7 +21,7 @@ class ExtensionCompilerPassTest extends \PHPUnit_Framework_TestCase private $container; private $pass; - public function setUp() + protected function setUp() { $this->container = $this->getMock('Symfony\Component\DependencyInjection\ContainerBuilder'); $this->pass = new ExtensionCompilerPass();