From 0a883a94f1732cebb2e54ba5eabb36b8926f0e14 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Wed, 27 Jan 2016 11:49:43 +0000 Subject: [PATCH] Change few occurences of a public setUp() method to protected --- .../Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php | 2 +- .../FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php | 2 +- .../PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php | 2 +- .../PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php | 2 +- .../PropertyInfo/Tests/Extractors/SerializerExtractorTest.php | 2 +- .../Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php b/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php index 376208088c..ac1bb5f96e 100644 --- a/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php +++ b/src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php @@ -26,7 +26,7 @@ class DoctrineExtractorTest extends \PHPUnit_Framework_TestCase */ private $extractor; - public function setUp() + protected function setUp() { $config = Setup::createAnnotationMetadataConfiguration(array(__DIR__.DIRECTORY_SEPARATOR.'Fixtures'), true); $entityManager = EntityManager::create(array('driver' => 'pdo_sqlite'), $config); diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php index e446efcd89..31770872a6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php @@ -12,7 +12,7 @@ class DelegatingLoaderTest extends \PHPUnit_Framework_TestCase /** @var ControllerNameParser */ private $controllerNameParser; - public function setUp() + protected function setUp() { $this->controllerNameParser = $this->getMockBuilder('Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser') ->disableOriginalConstructor() diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php index 038a30bdac..6049df7f63 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php +++ b/src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php @@ -24,7 +24,7 @@ class PhpDocExtractorTest extends \PHPUnit_Framework_TestCase */ private $extractor; - public function setUp() + protected function setUp() { $this->extractor = new PhpDocExtractor(); } diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php index ab478dd12b..dfc13c025e 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php +++ b/src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php @@ -24,7 +24,7 @@ class ReflectionExtractorTest extends \PHPUnit_Framework_TestCase */ private $extractor; - public function setUp() + protected function setUp() { $this->extractor = new ReflectionExtractor(); } diff --git a/src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php index c170f2237a..92d18178ae 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php +++ b/src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php @@ -26,7 +26,7 @@ class SerializerExtractorTest extends \PHPUnit_Framework_TestCase */ private $extractor; - public function setUp() + protected function setUp() { $classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader())); $this->extractor = new SerializerExtractor($classMetadataFactory); diff --git a/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php b/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php index c7375d3006..4cd4c04f67 100644 --- a/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php +++ b/src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php @@ -26,7 +26,7 @@ class PropertyInfoExtractorTest extends \PHPUnit_Framework_TestCase */ private $propertyInfo; - public function setUp() + protected function setUp() { $extractors = array(new NullExtractor(), new DummyExtractor()); $this->propertyInfo = new PropertyInfoExtractor($extractors, $extractors, $extractors, $extractors);