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 133bb6f

Browse filesBrowse files
committed
Changed visibility of setUp() and tearDown to protected
1 parent 6963887 commit 133bb6f
Copy full SHA for 133bb6f

File tree

Expand file treeCollapse file tree

38 files changed

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

38 files changed

+42
-42
lines changed

‎src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Instantiator/RuntimeInstantiatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Instantiator/RuntimeInstantiatorTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class RuntimeInstantiatorTest extends \PHPUnit_Framework_TestCase
3131
/**
3232
* {@inheritdoc}
3333
*/
34-
public function setUp()
34+
protected function setUp()
3535
{
3636
$this->instantiator = new RuntimeInstantiator();
3737
}

‎src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/ProxyDumperTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/ProxyDumperTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ProxyDumperTest extends \PHPUnit_Framework_TestCase
3131
/**
3232
* {@inheritdoc}
3333
*/
34-
public function setUp()
34+
protected function setUp()
3535
{
3636
$this->dumper = new ProxyDumper();
3737
}

‎src/Symfony/Bridge/Twig/Tests/Command/LintCommandTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Twig/Tests/Command/LintCommandTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ private function createFile($content)
9898
return $filename;
9999
}
100100

101-
public function setUp()
101+
protected function setUp()
102102
{
103103
$this->files = array();
104104
}
105105

106-
public function tearDown()
106+
protected function tearDown()
107107
{
108108
foreach ($this->files as $file) {
109109
if (file_exists($file)) {

‎src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerNameParserTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Controller/ControllerNameParserTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protected function setUp()
2929
$this->loader->register();
3030
}
3131

32-
public function tearDown()
32+
protected function tearDown()
3333
{
3434
spl_autoload_unregister(array($this->loader, 'loadClass'));
3535

‎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/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Templating/GlobalVariablesTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class GlobalVariablesTest extends TestCase
2020
private $container;
2121
private $globals;
2222

23-
public function setUp()
23+
protected function setUp()
2424
{
2525
$this->container = new Container();
2626
$this->globals = new GlobalVariables($this->container);

‎src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Translation/TranslatorTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ protected function setUp()
2626
$this->deleteTmpDir();
2727
}
2828

29-
public function tearDown()
29+
protected function tearDown()
3030
{
3131
$this->deleteTmpDir();
3232
}

‎src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Tests/DependencyInjection/Compiler/TwigLoaderPassTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TwigLoaderPassTest extends \PHPUnit_Framework_TestCase
2929
*/
3030
private $pass;
3131

32-
public function setUp()
32+
protected function setUp()
3333
{
3434
$this->builder = $this->getMock(
3535
'Symfony\Component\DependencyInjection\ContainerBuilder',

‎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/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.php

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

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

‎src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TemplateManagerTest extends TestCase
4141
*/
4242
protected $templateManager;
4343

44-
public function setUp()
44+
protected function setUp()
4545
{
4646
parent::setUp();
4747

‎src/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.php

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

1616
class LegacyUniversalClassLoaderTest 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/Config/Tests/ConfigCacheTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Config/Tests/ConfigCacheTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ConfigCacheTest extends \PHPUnit_Framework_TestCase
2222

2323
private $metaFile = null;
2424

25-
public function setUp()
25+
protected function setUp()
2626
{
2727
$this->resourceFile = tempnam(sys_get_temp_dir(), '_resource');
2828
$this->cacheFile = tempnam(sys_get_temp_dir(), 'config_');
@@ -32,7 +32,7 @@ public function setUp()
3232
$this->generateMetaFile();
3333
}
3434

35-
public function tearDown()
35+
protected function tearDown()
3636
{
3737
$files = array($this->cacheFile, $this->metaFile, $this->resourceFile);
3838

‎src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LegacyDialogHelperTest extends \PHPUnit_Framework_TestCase
2121
{
22-
public function setUp()
22+
protected function setUp()
2323
{
2424
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2525
}

‎src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
class LegacyProgressHelperTest extends \PHPUnit_Framework_TestCase
1818
{
19-
public function setUp()
19+
protected function setUp()
2020
{
2121
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2222
}

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

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

1717
class LegacyContainerBuilderTest extends \PHPUnit_Framework_TestCase
1818
{
19-
public function setUp()
19+
protected function setUp()
2020
{
2121
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2222
}

‎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/Filesystem/Tests/FilesystemTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Tests/FilesystemTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FilesystemTest extends FilesystemTestCase
2323
*/
2424
private $filesystem = null;
2525

26-
public function setUp()
26+
protected function setUp()
2727
{
2828
parent::setUp();
2929
$this->filesystem = new Filesystem();

‎src/Symfony/Component/Filesystem/Tests/FilesystemTestCase.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Tests/FilesystemTestCase.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public static function setUpBeforeClass()
3737
}
3838
}
3939

40-
public function setUp()
40+
protected function setUp()
4141
{
4242
$this->umask = umask(0);
4343
$this->workspace = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.time().rand(0, 1000);
4444
mkdir($this->workspace, 0777, true);
4545
$this->workspace = realpath($this->workspace);
4646
}
4747

48-
public function tearDown()
48+
protected function tearDown()
4949
{
5050
$this->clean($this->workspace);
5151
umask($this->umask);

‎src/Symfony/Component/Form/Tests/Extension/DataCollector/DataCollectorExtensionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/DataCollector/DataCollectorExtensionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class DataCollectorExtensionTest extends \PHPUnit_Framework_TestCase
2828
*/
2929
private $dataCollector;
3030

31-
public function setUp()
31+
protected function setUp()
3232
{
3333
$this->dataCollector = $this->getMock('Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface');
3434
$this->extension = new DataCollectorExtension($this->dataCollector);

‎src/Symfony/Component/Form/Tests/Extension/DataCollector/Type/DataCollectorTypeExtensionTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Form/Tests/Extension/DataCollector/Type/DataCollectorTypeExtensionTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DataCollectorTypeExtensionTest extends \PHPUnit_Framework_TestCase
2424
*/
2525
private $dataCollector;
2626

27-
public function setUp()
27+
protected function setUp()
2828
{
2929
$this->dataCollector = $this->getMock('Symfony\Component\Form\Extension\DataCollector\FormDataCollectorInterface');
3030
$this->extension = new DataCollectorTypeExtension($this->dataCollector);

‎src/Symfony/Component/HttpFoundation/Tests/Session/Flash/AutoExpireFlashBagTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/Session/Flash/AutoExpireFlashBagTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp()
3838
$this->bag->initialize($this->array);
3939
}
4040

41-
public function tearDown()
41+
protected function tearDown()
4242
{
4343
$this->bag = null;
4444
parent::tearDown();

‎src/Symfony/Component/HttpFoundation/Tests/Session/Flash/FlashBagTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Tests/Session/Flash/FlashBagTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected function setUp()
3838
$this->bag->initialize($this->array);
3939
}
4040

41-
public function tearDown()
41+
protected function tearDown()
4242
{
4343
$this->bag = null;
4444
parent::tearDown();

‎src/Symfony/Component/HttpKernel/Tests/EventListener/RouterListenerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/EventListener/RouterListenerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RouterListenerTest extends \PHPUnit_Framework_TestCase
2222
{
2323
private $requestStack;
2424

25-
public function setUp()
25+
protected function setUp()
2626
{
2727
$this->requestStack = $this->getMock('Symfony\Component\HttpFoundation\RequestStack', array(), array(), '', false);
2828
}

‎src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/Tests/Fragment/FragmentHandlerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class FragmentHandlerTest extends \PHPUnit_Framework_TestCase
1919
{
2020
private $requestStack;
2121

22-
public function setUp()
22+
protected function setUp()
2323
{
2424
$this->requestStack = $this->getMockBuilder('Symfony\\Component\\HttpFoundation\\RequestStack')
2525
->disableOriginalConstructor()

‎src/Symfony/Component/Process/Tests/ExecutableFinderTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/ExecutableFinderTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class ExecutableFinderTest extends \PHPUnit_Framework_TestCase
2020
{
2121
private $path;
2222

23-
public function tearDown()
23+
protected function tearDown()
2424
{
2525
if ($this->path) {
2626
// Restore path if it was changed.

‎src/Symfony/Component/Process/Tests/SimpleProcessTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Process/Tests/SimpleProcessTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class SimpleProcessTest extends AbstractProcessTest
1717
{
1818
private $enabledSigchild = false;
1919

20-
public function setUp()
20+
protected function setUp()
2121
{
2222
ob_start();
2323
phpinfo(INFO_GENERAL);

‎src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static function setUpBeforeClass()
2424
self::$fixturesPath = realpath(__DIR__.'/../../Fixtures/');
2525
}
2626

27-
public function setUp()
27+
protected function setUp()
2828
{
2929
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
3030
}

‎src/Symfony/Component/Security/Core/Tests/Authorization/AuthorizationCheckerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Tests/Authorization/AuthorizationCheckerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AuthorizationCheckerTest extends \PHPUnit_Framework_TestCase
2121
private $authorizationChecker;
2222
private $tokenStorage;
2323

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->authenticationManager = $this->getMock('Symfony\Component\Security\Core\Authentication\AuthenticationManagerInterface');
2727
$this->accessDecisionManager = $this->getMock('Symfony\Component\Security\Core\Authorization\AccessDecisionManagerInterface');

‎src/Symfony/Component/Security/Core/Tests/LegacySecurityContextTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Tests/LegacySecurityContextTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LegacySecurityContextTest extends \PHPUnit_Framework_TestCase
2121
private $authorizationChecker;
2222
private $securityContext;
2323

24-
public function setUp()
24+
protected function setUp()
2525
{
2626
$this->iniSet('error_reporting', -1 & ~E_USER_DEPRECATED);
2727

‎src/Symfony/Component/Security/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Tests/Authentication/SimpleAuthenticationHandlerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class SimpleAuthenticationHandlerTest extends \PHPUnit_Framework_TestCase
3131

3232
private $response;
3333

34-
public function setUp()
34+
protected function setUp()
3535
{
3636
$this->successHandler = $this->getMock('Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface');
3737
$this->failureHandler = $this->getMock('Symfony\Component\Security\Http\Authentication\AuthenticationFailureHandlerInterface');

‎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/Security/Tests/Core/Authentication/Voter/AbstractVoterTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Tests/Core/Authentication/Voter/AbstractVoterTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AbstractVoterTest extends \PHPUnit_Framework_TestCase
2525

2626
private $token;
2727

28-
public function setUp()
28+
protected function setUp()
2929
{
3030
$this->voter = new VoterFixture();
3131

‎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
}

‎src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Tests/TranslatorCacheTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function setUp()
2525
$this->deleteTmpDir();
2626
}
2727

28-
public function tearDown()
28+
protected function tearDown()
2929
{
3030
$this->deleteTmpDir();
3131
}

0 commit comments

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