Skip to content

Commit 6b0c9e7

Browse files
Merge branch '3.4' into 4.2
* 3.4: (24 commits) Apply php-cs-fixer rule for array_key_exists() [Security] Change FormAuthenticator if condition handles multi-byte characters in autocomplete speed up tests running them without debug flag [Translations] added missing Croatian validators Fix getItems() performance issue with RedisCluster (php-redis) [VarDumper] Keep a ref to objects to ensure their handle cannot be reused while cloning IntegerType: reject submitted non-integer numbers be keen to newcomers [HttpKernel] Fix possible infinite loop of exceptions fixed CS [Validator] Added missing translations for Afrikaans do not validate non-submitted form fields in PATCH requests Update usage example in ArrayInput doc block. [Console] Prevent ArgvInput::getFirstArgument() from returning an option value [Validator] Fixed duplicate UUID fixed CS [EventDispatcher] Fix unknown priority Avoid mutating the Finder when building the iterator [Validator] Add the missing translations for the Greek (el) locale ...
1 parent e5a61bc commit 6b0c9e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Transport/AmqpExt/Connection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public static function fromDsn(string $dsn, array $options = [], bool $debug = f
110110
private static function normalizeQueueArguments(array $arguments): array
111111
{
112112
foreach (self::ARGUMENTS_AS_INTEGER as $key) {
113-
if (!array_key_exists($key, $arguments)) {
113+
if (!\array_key_exists($key, $arguments)) {
114114
continue;
115115
}
116116

@@ -253,6 +253,6 @@ private function clear(): void
253253

254254
private function shouldSetup(): bool
255255
{
256-
return !array_key_exists('auto-setup', $this->connectionCredentials) || !\in_array($this->connectionCredentials['auto-setup'], [false, 'false'], true);
256+
return !\array_key_exists('auto-setup', $this->connectionCredentials) || !\in_array($this->connectionCredentials['auto-setup'], [false, 'false'], true);
257257
}
258258
}

0 commit comments

Comments
 (0)