Skip to content

Commit 8567c4b

Browse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 4ad1bd0 commit 8567c4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Extension/DataCollector/DataCollectorExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DataCollectorExtensionTest extends \PHPUnit_Framework_TestCase
2828
*/
2929
private $dataCollector;
3030

31-
public function setUp()
31+
protected function setUp()
3232
{
3333
$this->dataCollector = $this->getMock('Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface');
3434
$this->extension = new DataCollectorExtension($this->dataCollector);

Tests/Extension/DataCollector/Type/DataCollectorTypeExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DataCollectorTypeExtensionTest extends \PHPUnit_Framework_TestCase
2424
*/
2525
private $dataCollector;
2626

27-
public function setUp()
27+
protected function setUp()
2828
{
2929
$this->dataCollector = $this->getMock('Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface');
3030
$this->extension = new DataCollectorTypeExtension($this->dataCollector);

0 commit comments

Comments
 (0)