8000 fixed PHPUnit setUp and tearDown method visibility · Bilge/symfony@4fd4cb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4fd4cb9

Browse files
committed
fixed PHPUnit setUp and tearDown method visibility
1 parent 50be214 commit 4fd4cb9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/TemplatePathsCacheWarmerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class TemplatePathsCacheWarmerTest extends TestCase
3535

3636
private $tmpDir;
3737

38-
public function setUp()
38+
protected function setUp()
3939
{
4040
$this->templateFinder = $this
4141
->getMockBuilder(TemplateFinderInterface::class)
@@ -56,7 +56,7 @@ public function setUp()
5656
$this->filesystem->mkdir($this->tmpDir);
5757
}
5858

59-
public function tearDown()
59+
protected function tearDown()
6060
{
6161
$this->filesystem->remove($this->tmpDir);
6262
}

src/Symfony/Component/Workflow/Tests/Dumper/GraphvizDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class GraphvizDumperTest extends \PHPUnit_Framework_TestCase
1212

1313
private $dumper;
1414

15-
public function setUp()
15+
protected function setUp()
1616
{
1717
$this->dumper = new GraphvizDumper();
1818
}

src/Symfony/Component/Workflow/Tests/Dumper/StateMachineGraphvizDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class StateMachineGraphvizDumperTest extends \PHPUnit_Framework_TestCase
1212

1313
private $dumper;
1414

15-
public function setUp()
15+
protected function setUp()
1616
{
1717
$this->dumper = new StateMachineGraphvizDumper();
1818
}

0 commit comments

Comments
 (0)
0