minor #36757 [4.4] CS fixes (nicolas-grekas)
This PR was merged into the 4.4 branch.
Discussion
----------
[4.4] CS fixes
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Tickets | -
| License | MIT
| Doc PR | -
Commits
-------
eba09d47e7
[4.4] CS fixes
This commit is contained in:
commit
020fa77db9
|
@ -25,7 +25,7 @@ class DoctrineTransactionMiddlewareTest extends MiddlewareTestCase
|
|||
private $entityManager;
|
||||
private $middleware;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->connection = $this->createMock(Connection::class);
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
namespace Symfony\Component\Mailer\Bridge\Mailchimp\Transport;
|
||||
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\Mailer\Envelope;
|
||||
use Symfony\Component\Mailer\Exception\HttpTransportException;
|
||||
use Symfony\Component\Mailer\SentMessage;
|
||||
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 mixed $credentials
|
||||
* @param string $providerKey
|
||||
* @param string[] $roles
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
|
|
|
@ -59,7 +59,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface
|
|||
*/
|
||||
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
|
||||
if (\count($attributes) > 1 && !$allowMultipleAttributes) {
|
||||
|
|
|
@ -600,7 +600,7 @@ return function (root, x) {
|
|||
*/
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
e.preventDefault();
|
||||
search.className = search.className.replace(/\bsf-dump-search-hidden\b/, '');
|
||||
searchInput.focus();
|
||||
|
|
Reference in New Issue