Skip to content

Commit 2ef46b3

Browse files
committed
minor symfony#17566 Change couple of occurences of a public setUp() method to protected (jakzal)
This PR was merged into the 2.7 branch. Discussion ---------- Change couple of occurences of a public setUp() method to protected | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - `setUp()` is a protected method. There's no occurrences on the 2.3 branch. Commits ------- 5fe7359 Change couple of occurences of a public setUp() method to protected
2 parents 3a027ba + 5fe7359 commit 2ef46b3

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)