8000 Merge branch '5.2' into 5.3 · rubanooo/symfony@5a2cd97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5a2cd97

Browse files
Merge branch '5.2' into 5.3
* 5.2: -
2 parents 3488f66 + 70a0256 commit 5a2cd97

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_1_link.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| Method | GET|HEAD |
1111
| Requirements | name: [a-z]+ |
1212
| Class | Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\RouteStub |
13-
| Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=68\Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
13+
| Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=58\Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
1414
| | name: Joseph |
1515
| Options | compiler_class: Symfony\Component\Routing\RouteCompiler |
1616
| | opt1: val1 |

src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_2_link.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| Method | PUT|POST |
1111
| Requirements | NO CUSTOM |
1212
| Class | Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\RouteStub |
13-
| Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=68\Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
13+
| Defaults | _controller: ]8;;myeditor://open?file=[:file:]&line=58\Symfony\Bundle\FrameworkBundle\Tests\Console\Descriptor\MyController::__invoke()]8;;\ |
1414
| Options | compiler_class: Symfony\Component\Routing\RouteCompiler |
1515
| | opt1: val1 |
1616
| | opt2: val2 |

src/Symfony/Component/PasswordHasher/Tests/Command/UserPasswordHashCommandTest.php

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,6 @@ class UserPasswordHashCommandTest extends TestCase
2727
private $passwordHasherCommandTester;
2828
private $colSize;
2929

30-
protected function setUp(): void
31-
{
32-
$this->colSize = getenv('COLUMNS');
33-
putenv('COLUMNS='.(119 + \strlen(\PHP_EOL)));
34-
}
35-
36-
protected function tearDown(): void
37-
{
38-
putenv($this->colSize ? 'COLUMNS='.$this->colSize : 'COLUMNS');
39-
}
40-
4130
public function testEncodePasswordEmptySalt()
4231
{
4332
$this->passwordHasherCommandTester->execute([
@@ -299,6 +288,9 @@ public function testThrowsExceptionOnNoConfiguredHashers()
299288

300289
protected function setUp(): void
301290
{
291+
$this->colSize = getenv('COLUMNS');
292+
putenv('COLUMNS='.(119 + \strlen(\PHP_EOL)));
293+
302294
$hasherFactory = new PasswordHasherFactory([
303295
InMemoryUser::class => ['algorithm' => 'plaintext'],
304296
'Custom\Class\Native\User' => ['algorithm' => 'native', 'cost' => 10],
@@ -315,6 +307,7 @@ protected function setUp(): void
315307
protected function tearDown(): void
316308
{
317309
$this->passwordHasherCommandTester = null;
310+
putenv($this->colSize ? 'COLUMNS='.$this->colSize : 'COLUMNS');
318311
}
319312

320313
private function setupArgon2i()

0 commit comments

Comments
 (0)
0