8000 Merge branch '4.1' · sroze/symfony@a82b2a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit a82b2a7

Browse files
committed
Merge branch '4.1'
* 4.1: fixed usage of setUp in tests fixed usage of setUp in tests fixed usage of setUp in tests [travis] minor fix (quater)
2 parents 59fad59 + 1c3d3db commit a82b2a7

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/rm-invalid-lowest-lock-files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function getContentHash(array $composerJson)
7979
continue 2;
8080
}
8181

82-
if (isset($composerJsons[$name][2]['repositories']) && !isset($lockedJson[$key]['repositories'])) {
82+
if (isset($composerJsons[$name][2]['repositories']) && !isset($lockedJson['repositories'])) {
8383
// the locked package has been patched locally but the lock references a commit,
8484
// which means the referencing package itself is not modified
8585
continue;

src/Symfony/Component/DependencyInjection/Tests/ParameterBag/ContainerBagTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ContainerBagTest extends TestCase
2626
/** @var ContainerBag */
2727
private $containerBag;
2828

29-
public function setUp()< 10000 /div>
29+
protected function setUp()
3030
{
3131
$this->parameterBag = new ParameterBag(array('foo' => 'value'));
3232
$this->containerBag = new ContainerBag(new Container($this->parameterBag));

src/Symfony/Component/Lock/Tests/Store/CombinedStoreTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function getStore()
5858
/** @var CombinedStore */
5959
private $store;
6060

61-
public function setup()
61+
protected function setUp()
6262
{
6363
$this->strategy = $this->getMockBuilder(StrategyInterface::class)->getMock();
6464
$this->store1 = $this->getMockBuilder(StoreInterface::class)->getMock();

src/Symfony/Component/Lock/Tests/Strategy/ConsensusStrategyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ConsensusStrategyTest extends TestCase
2222
/** @var ConsensusStrategy */
2323
private $strategy;
2424

25-
public function setup()
25+
protected function setUp()
2626
{
2727
$this->strategy = new ConsensusStrategy();
2828
}

src/Symfony/Component/Lock/Tests/Strategy/UnanimousStrategyTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UnanimousStrategyTest extends TestCase
2222
/** @var UnanimousStrategy */
2323
private $strategy;
2424

25-
public function setup()
25+
protected function setUp()
2626
{
2727
$this->strategy = new UnanimousStrategy();
2828
}

src/Symfony/Component/Security/Csrf/Tests/CsrfTokenManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ private function getGeneratorAndStorage()
210210
);
211211
}
212212

213-
public function setUp()
213+
protected function setUp()
214214
{
215215
$_SERVER['HTTPS'] = 'on';
216216
}
217217

218-
public function tearDown()
218+
protected function tearDown()
219219
{
220220
parent::tearDown();
221221

0 commit comments

Comments
 (0)
0