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 de658e7

Browse filesBrowse files
minor #13903 [2.7] Changed visibility of setUp() and tearDown to protected (saro0h)
This PR was merged into the 2.7 branch. Discussion ---------- [2.7] Changed visibility of setUp() and tearDown to protected | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | ~ | License | MIT | Doc PR | ~ Commits ------- a818ab2 Changed visibility of setUp() and tearDown to protected
2 parents 6aa74b8 + a818ab2 commit de658e7
Copy full SHA for de658e7

File tree

Expand file treeCollapse file tree

8 files changed

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

8 files changed

+9
-9
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyFragmentRendererPassTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyFragmentRendererPassTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class LegacyFragmentRendererPassTest extends \PHPUnit_Framework_TestCase
1919
{
20-
public function setUp()
20+
protected function setUp()
2121
{
2222
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2323
}

‎src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyTemplatingAssetHelperPassTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyTemplatingAssetHelperPassTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class LegacyTemplatingAssetHelperPassTest extends \PHPUnit_Framework_TestCase
2020
{
21-
public function setUp()
21+
protected function setUp()
2222
{
2323
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2424
}

‎src/Symfony/Bundle/TwigBundle/Tests/Extension/LegacyAssetsExtensionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Tests/Extension/LegacyAssetsExtensionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*/
2121
class LegacyAssetsExtensionTest extends TestCase
2222
{
23-
public function setUp()
23+
protected function setUp()
2424
{
2525
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2626
}

‎src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/LegacyDefinitionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class LegacyDefinitionTest extends \PHPUnit_Framework_TestCase
1717
{
18-
public function setUp()
18+
protected function setUp()
1919
{
2020
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2121
}

‎src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Tests/Firewall/SimplePreAuthenticationListenerTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function testHandlecatchAuthenticationException()
9292
$listener->handle($this->event);
9393
}
9494

95-
public function setUp()
95+
protected function setUp()
9696
{
9797
$this->authenticationManager = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager')
9898
->disableOriginalConstructor()
@@ -115,7 +115,7 @@ public function setUp()
115115
$this->token = $this->getMock('Symfony\Component\Security\Core\Authentication\Token\TokenInterface');
116116
}
117117

118-
public function tearDown()
118+
protected function tearDown()
119119
{
120120
$this->authenticationManager = null;
121121
$this->dispatcher = null;

‎src/Symfony/Component/Serializer/Tests/Mapping/Loader/XmlFileLoaderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Mapping/Loader/XmlFileLoaderTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class XmlFileLoaderTest extends \PHPUnit_Framework_TestCase
2929
*/
3030
private $metadata;
3131

32-
public function setUp()
32+
protected function setUp()
3333
{
3434
$this->loader = new XmlFileLoader(__DIR__.'/../../Fixtures/serialization.xml');
3535
$this->metadata = new ClassMetadata('Symfony\Component\Serializer\Tests\Fixtures\GroupDummy');

‎src/Symfony/Component/Serializer/Tests/Mapping/Loader/YamlFileLoaderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Mapping/Loader/YamlFileLoaderTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class YamlFileLoaderTest extends \PHPUnit_Framework_TestCase
2929
*/
3030
private $metadata;
3131

32-
public function setUp()
32+
protected function setUp()
3333
{
3434
$this->loader = new YamlFileLoader(__DIR__.'/../../Fixtures/serialization.yml');
3535
$this->metadata = new ClassMetadata('Symfony\Component\Serializer\Tests\Fixtures\GroupDummy');

‎src/Symfony/Component/Templating/Tests/Helper/LegacyAssetsHelperTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Templating/Tests/Helper/LegacyAssetsHelperTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
class LegacyAssetsHelperTest extends \PHPUnit_Framework_TestCase
1717
{
18-
public function setUp()
18+
protected function setUp()
1919
{
2020
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2121
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.