8000 Merge branch '4.4' into 5.1 · symfony/symfony@7e2ac5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e2ac5f

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Remove wrong test Fix typo in property name
2 parents 64c8a55 + 039fe6a commit 7e2ac5f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/Symfony/Bridge/Monolog/Handler/ConsoleHandler.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
5151
OutputInterface::VERBOSITY_VERY_VERBOSE => Logger::INFO,
5252
OutputInterface::VERBOSITY_DEBUG => Logger::DEBUG,
5353
];
54-
private $consoleFormaterOptions;
54+
private $consoleFormatterOptions;
5555

5656
/**
5757
* @param OutputInterface|null $output The console output to use (the handler remains disabled when passing null
@@ -60,7 +60,7 @@ class ConsoleHandler extends AbstractProcessingHandler implements EventSubscribe
6060
* @param array $verbosityLevelMap Array that maps the OutputInterface verbosity to a minimum logging
6161
* level (leave empty to use the default mapping)
6262
*/
63-
public function __construct(OutputInterface $output = null, bool $bubble = true, array $verbosityLevelMap = [], array $consoleFormaterOptions = [])
63+
public function __construct(OutputInterface $output = null, bool $bubble = true, array $verbosityLevelMap = [], array $consoleFormatterOptions = [])
6464
{
6565
parent::__construct(Logger::DEBUG, $bubble);
6666
$this->output = $output;
@@ -69,7 +69,7 @@ public function __construct(OutputInterface $output = null, bool $bubble = true,
6969
$this->verbosityLevelMap = $verbosityLevelMap;
7070
}
7171

72-
$this->consoleFormaterOptions = $consoleFormaterOptions;
72+
$this->consoleFormatterOptions = $consoleFormatterOptions;
7373
}
7474

7575
/**
@@ -159,13 +159,13 @@ protected function getDefaultFormatter(): FormatterInterface
159159
return new LineFormatter();
160160
}
161161
if (!$this->output) {
162-
return new ConsoleFormatter($this->consoleFormaterOptions);
162+
return new ConsoleFormatter($this->consoleFormatterOptions);
163163
}
164164

165165
return new ConsoleFormatter(array_replace([
166166
'colors' => $this->output->isDecorated(),
167167
'multiline' => OutputInterface::VERBOSITY_DEBUG <= $this->output->getVerbosity(),
168-
], $this->consoleFormaterOptions));
168+
], $this->consoleFormatterOptions));
169169
}
170170

171171
/**

src/Symfony/Bundle/SecurityBundle/Tests/Functional/CsrfFormLoginTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function testFormLoginAndLogoutWithCsrfTokens($options)
3636
$logoutLinks = $crawler->selectLink('Log out')->links();
3737
$this->assertCount(2, $logoutLinks);
3838
$this->assertStringContainsString('_csrf_token=', $logoutLinks[0]->getUri());
39-
$this->assertSame($logoutLinks[0]->getUri(), $logoutLinks[1]->getUri());
4039

4140
$client->click($logoutLinks[0]);
4241

0 commit comments

Comments
 (0)
0