8000 [4.4] CS fixes · symfony/symfony@eba09d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit eba09d4

Browse files
[4.4] CS fixes
1 parent 66cd9f4 commit eba09d4

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

src/Symfony/Bridge/Doctrine/Tests/Messenger/DoctrineTransactionMiddlewareTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class DoctrineTransactionMiddlewareTest extends MiddlewareTestCase
2525
private $entityManager;
2626
private $middleware;
2727

28-
public function setUp(): void
28+
protected function setUp(): void
2929
{
3030
$this->connection = $this->createMock(Connection::class);
3131

src/Symfony/Component/Mailer/Bridge/Mailchimp/Transport/MandrillHttpTransport.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Component\Mailer\Bridge\Mailchimp\Transport;
1313

1414
use Psr\Log\LoggerInterface;
15-
use Symfony\Component\Mailer\Envelope;
1615
use Symfony\Component\Mailer\Exception\HttpTransportException;
1716
use Symfony\Component\Mailer\SentMessage;
1817
use Symfony\Component\Mailer\Transport\AbstractHttpTransport;

src/Symfony/Component/Security/Core/Authentication/Token/UsernamePasswordToken.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class UsernamePasswordToken extends AbstractToken
2626
/**
2727
* @param string|\Stringable|UserInterface $user The username (like a nickname, email address, etc.) or a UserInterface instance
2828
* @param mixed $credentials
29-
* @param string $providerKey
3029
* @param string[] $roles
3130
*
3231
* @throws \InvalidArgumentException

src/Symfony/Component/Security/Core/Authorization/AccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function __construct(iterable $voters = [], string $strategy = self::STRA
5959
*/
6060
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/)
6161
{
62-
$allowMultipleAttributes = 3 < func_num_args() && func_get_arg(3);
62+
$allowMultipleAttributes = 3 < \func_num_args() && func_get_arg(3);
6363

6464
// Special case for AccessListener, do not remove the right side of the condition before 6.0
6565
if (\count($attributes) > 1 && !$allowMultipleAttributes) {

src/Symfony/Component/VarDumper/Dumper/HtmlDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ function showCurrent(state)
600600
*/
601601
return;
602602
}
603-
603+
604604
e.preventDefault();
605605
search.className = search.className.replace(/\bsf-dump-search-hidden\b/, '');
606606
searchInput.focus();

0 commit comments

Comments
 (0)
0