Skip to content

Commit

Permalink
minor #21594 fixed PHPUnit setUp and tearDown method visibility (fabpot)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.2 branch.

Discussion
----------

fixed PHPUnit setUp and tearDown method visibility

| Q             | A
| ------------- | ---
| Branch?       | 3.2
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

4fd4cb9 fixed PHPUnit setUp and tearDown method visibility
  • Loading branch information
fabpot committed Feb 13, 2017
2 parents 50be214 + 4fd4cb9 commit 43588ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -35,7 +35,7 @@ class TemplatePathsCacheWarmerTest extends TestCase

private $tmpDir;

public function setUp()
protected function setUp()
{
$this->templateFinder = $this
->getMockBuilder(TemplateFinderInterface::class)
Expand All @@ -56,7 +56,7 @@ public function setUp()
$this->filesystem->mkdir($this->tmpDir);
}

public function tearDown()
protected function tearDown()
{
$this->filesystem->remove($this->tmpDir);
}
Expand Down
Expand Up @@ -12,7 +12,7 @@ class GraphvizDumperTest extends \PHPUnit_Framework_TestCase

private $dumper;

public function setUp()
protected function setUp()
{
$this->dumper = new GraphvizDumper();
}
Expand Down
Expand Up @@ -12,7 +12,7 @@ class StateMachineGraphvizDumperTest extends \PHPUnit_Framework_TestCase

private $dumper;

public function setUp()
protected function setUp()
{
$this->dumper = new StateMachineGraphvizDumper();
}
Expand Down

0 comments on commit 43588ca

Please sign in to comment.