[4.4] CS fixes
This commit is contained in:
parent
66cd9f470c
commit
eba09d47e7
@ -25,7 +25,7 @@ class DoctrineTransactionMiddlewareTest extends MiddlewareTestCase
|
|||||||
private $entityManager;
|
private $entityManager;
|
||||||
private $middleware;
|
private $middleware;
|
||||||
|
|
||||||
public function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
$this->connection = $this->createMock(Connection::class);
|
$this->connection = $this->createMock(Connection::class);
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
namespace Symfony\Component\Mailer\Bridge\Mailchimp\Transport;
|
namespace Symfony\Component\Mailer\Bridge\Mailchimp\Transport;
|
||||||
|
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Symfony\Component\Mailer\Envelope;
|
|
||||||
use Symfony\Component\Mailer\Exception\HttpTransportException;
|
use Symfony\Component\Mailer\Exception\HttpTransportException;
|
||||||
use Symfony\Component\Mailer\SentMessage;
|
use Symfony\Component\Mailer\SentMessage;
|
||||||
use Symfony\Component\Mailer\Transport\AbstractHttpTransport;
|
use Symfony\Component\Mailer\Transport\AbstractHttpTransport;
|
||||||
|
@ -26,7 +26,6 @@ class UsernamePasswordToken extends AbstractToken
|
|||||||
/**
|
/**
|
||||||
* @param string|\Stringable|UserInterface $user The username (like a nickname, email address, etc.) or a UserInterface instance
|
* @param string|\Stringable|UserInterface $user The username (like a nickname, email address, etc.) or a UserInterface instance
|
||||||
* @param mixed $credentials
|
* @param mixed $credentials
|
||||||
* @param string $providerKey
|
|
||||||
* @param string[] $roles
|
* @param string[] $roles
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
|
@ -59,7 +59,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface
|
|||||||
*/
|
*/
|
||||||
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/)
|
public function decide(TokenInterface $token, array $attributes, $object = null/*, bool $allowMultipleAttributes = false*/)
|
||||||
{
|
{
|
||||||
$allowMultipleAttributes = 3 < func_num_args() && func_get_arg(3);
|
$allowMultipleAttributes = 3 < \func_num_args() && func_get_arg(3);
|
||||||
|
|
||||||
// Special case for AccessListener, do not remove the right side of the condition before 6.0
|
// Special case for AccessListener, do not remove the right side of the condition before 6.0
|
||||||
if (\count($attributes) > 1 && !$allowMultipleAttributes) {
|
if (\count($attributes) > 1 && !$allowMultipleAttributes) {
|
||||||
|
@ -600,7 +600,7 @@ return function (root, x) {
|
|||||||
*/
|
*/
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
search.className = search.className.replace(/\bsf-dump-search-hidden\b/, '');
|
search.className = search.className.replace(/\bsf-dump-search-hidden\b/, '');
|
||||||
searchInput.focus();
|
searchInput.focus();
|
||||||
|
Reference in New Issue
Block a user