Skip to content

Commit 5d3d913

Browse files
committed
minor symfony#17567 Change few occurences of a public setUp() method to protected (jakzal)
This PR was merged into the 2.8 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 | - | License | MIT | Doc PR | - symfony#17566 for the 2.8 branch. Occurrences fixed in symfony#17566 are not included here. Commits ------- 0a883a9 Change few occurences of a public setUp() method to protected
2 parents c8d28b1 + 0a883a9 commit 5d3d913

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php

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

29-
public function setUp()
29+
protected function setUp()
3030
{
3131
$config = Setup::createAnnotationMetadataConfiguration(array(__DIR__.DIRECTORY_SEPARATOR.'Fixtures'), true);
3232
$entityManager = EntityManager::create(array('driver' => 'pdo_sqlite'), $config);

src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DelegatingLoaderTest extends \PHPUnit_Framework_TestCase
1212
/** @var ControllerNameParser */
1313
private $controllerNameParser;
1414

15-
public function setUp()
15+
protected function setUp()
1616
{
1717
$this->controllerNameParser = $this->getMockBuilder('Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser')
1818
->disableOriginalConstructor()

src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php

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

27-
public function setUp()
27+
protected function setUp()
2828
{
2929
$this->extractor = new PhpDocExtractor();
3030
}

src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php

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

27-
public function setUp()
27+
protected function setUp()
2828
{
2929
$this->extractor = new ReflectionExtractor();
3030
}

src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php

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

29-
public function setUp()
29+
protected function setUp()
3030
{
3131
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
3232
$this->extractor = new SerializerExtractor($classMetadataFactory);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PropertyInfoExtractorTest extends \PHPUnit_Framework_TestCase
2626
*/
2727
private $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);

0 commit comments

Comments
 (0)