10000 Merge branch '3.4' into 4.1 · symfony/symfony@525c98b · GitHub
[go: up one dir, main page]

Skip to content

Commit 525c98b

Browse files
committed
Merge branch '3.4' into 4.1
* 3.4: fixed usage of setUp in tests fixed usage of setUp in tests [travis] minor fix (quater)
2 parents 32db92e + 9a97ea8 commit 525c98b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
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/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