Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d3d913

Browse filesBrowse files
committed
minor #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 | - #17566 for the 2.8 branch. Occurrences fixed in #17566 are not included here. Commits ------- 0a883a9 Change few occurences of a public setUp() method to protected
2 parents c8d28b1 + 0a883a9 commit 5d3d913
Copy full SHA for 5d3d913

File tree

Expand file treeCollapse file tree

6 files changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+6
-6
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Routing/DelegatingLoaderTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyInfo/Tests/Extractors/PhpDocExtractorTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyInfo/Tests/Extractors/ReflectionExtractorTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyInfo/Tests/Extractors/SerializerExtractorTest.php
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyInfo/Tests/PropertyInfoExtractorTest.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.