Skip to content

Commit 5fe7359

Browse files
committed
Change couple of occurences of a public setUp() method to protected
1 parent 3a027ba commit 5fe7359

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Bridge/Twig/Tests/AppVariableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AppVariableTest extends \PHPUnit_Framework_TestCase
1313
*/
1414
protected $appVariable;
1515

16-
public function setUp()
16+
protected function setUp()
1717
{
1818
$this->appVariable = new AppVariable();
1919
}

src/Symfony/Component/DependencyInjection/Tests/Compiler/ExtensionCompilerPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ExtensionCompilerPassTest extends \PHPUnit_Framework_TestCase
2121
private $container;
2222
private $pass;
2323

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->container = $this->getMock('Symfony\Component\DependencyInjection\ContainerBuilder');
2727
$this->pass = new ExtensionCompilerPass();

0 commit comments

Comments
 (0)