Skip to content

Commit 7a96578

Browse files
committed
minor symfony#17570 Change few occurences of a public setUp() method to protected (dunglas)
This PR was merged into the 3.1-dev branch. Discussion ---------- Change few 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 | n/a | License | MIT | Doc PR | n/a A new rule for fabbot.io 😊? Commits ------- 31696b7 Change few occurences of a public setUp() method to protected
2 parents 4f26a2e + 31696b7 commit 7a96578

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Symfony/Component/PropertyInfo/Tests/AbstractPropertyInfoExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class AbstractPropertyInfoExtractorTest extends \PHPUnit_Framework_TestCase
2626
*/
2727
protected $propertyInfo;
2828

29-
public function setUp()
29+
protected function setUp()
3030
{
3131
$extractors = array(new NullExtractor(), new DummyExtractor());
3232
$this->propertyInfo = new PropertyInfoExtractor($extractors, $extractors, $extractors, $extractors);

src/Symfony/Component/PropertyInfo/Tests/PropertyInfoCacheExtractorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class PropertyInfoCacheExtractorTest extends AbstractPropertyInfoExtractorTest
2121
{
22-
public function setUp()
22+
protected function setUp()
2323
{
2424
parent::setUp();
2525

src/Symfony/Component/Serializer/Tests/Normalizer/DataUriNormalizerTest.php

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

31-
public function setUp()
31+
protected function setUp()
3232
{
3333
$this->normalizer = new DataUriNormalizer();
3434
}

src/Symfony/Component/Serializer/Tests/Normalizer/DateTimeNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class DateTimeNormalizerTest extends \PHPUnit_Framework_TestCase
2323
*/
2424
private $normalizer;
2525

26-
public function setUp()
26+
protected function setUp()
2727
{
2828
$this->normalizer = new DateTimeNormalizer();
2929
}

0 commit comments

Comments
 (0)