Skip to content

Commit 176cca3

Browse files
Merge branch '6.4' into 7.0
* 6.4: Fix implicitly-required parameters minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench) Fix bad merge List CS fix in .git-blame-ignore-revs Fix implicitly-required parameters List CS fix in .git-blame-ignore-revs Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2 parents 290b022 + e526d81 commit 176cca3

File tree

54 files changed

+110
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+110
-110
lines changed

CacheWarmer/AbstractPhpFileCacheWarmer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function isOptional(): bool
3434
return true;
3535
}
3636

37-
public function warmUp(string $cacheDir, string $buildDir = null): array
37+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
3838
{
3939
$arrayAdapter = new ArrayAdapter();
4040

@@ -77,5 +77,5 @@ final protected function ignoreAutoloadException(string $class, \Exception $exce
7777
/**
7878
* @return bool false if there is nothing to warm-up
7979
*/
80-
abstract protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, string $buildDir = null): bool;
80+
abstract protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool;
8181
}

CacheWarmer/CachePoolClearerCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(Psr6CacheClearer $poolClearer, array $pools = [])
3737
$this->pools = $pools;
3838
}
3939

40-
public function warmUp(string $cacheDir, string $buildDir = null): array
40+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
4141
{
4242
foreach ($this->pools as $pool) {
4343
if ($this->poolClearer->hasPool($pool)) {

CacheWarmer/ConfigBuilderCacheWarmer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ class ConfigBuilderCacheWarmer implements CacheWarmerInterface
3131
private KernelInterface $kernel;
3232
private ?LoggerInterface $logger;
3333

34-
public function __construct(KernelInterface $kernel, LoggerInterface $logger = null)
34+
public function __construct(KernelInterface $kernel, ?LoggerInterface $logger = null)
3535
{
3636
$this->kernel = $kernel;
3737
$this->logger = $logger;
3838
}
3939

40-
public function warmUp(string $cacheDir, string $buildDir = null): array
40+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
4141
{
4242
if (!$buildDir) {
4343
return [];

CacheWarmer/RouterCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(ContainerInterface $container)
3434
$this->container = $container;
3535
}
3636

37-
public function warmUp(string $cacheDir, string $buildDir = null): array
37+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
3838
{
3939
$router = $this->container->get('router');
4040

CacheWarmer/SerializerCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(array $loaders, string $phpArrayFile)
3838
$this->loaders = $loaders;
3939
}
4040

41-
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, string $buildDir = null): bool
41+
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool
4242
{
4343
if (!$this->loaders) {
4444
return true;

CacheWarmer/TranslationsCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(ContainerInterface $container)
3333
$this->container = $container;
3434
}
3535

36-
public function warmUp(string $cacheDir, string $buildDir = null): array
36+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
3737
{
3838
$this->translator ??= $this->container->get('translator');
3939

CacheWarmer/ValidatorCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(ValidatorBuilder $validatorBuilder, string $phpArray
3838
$this->validatorBuilder = $validatorBuilder;
3939
}
4040

41-
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, string $buildDir = null): bool
41+
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool
4242
{
4343
$loaders = $this->validatorBuilder->getLoaders();
4444
$metadataFactory = new LazyLoadingMetadataFactory(new LoaderChain($loaders), $arrayAdapter);

Command/CacheClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CacheClearCommand extends Command
4040
private CacheClearerInterface $cacheClearer;
4141
private Filesystem $filesystem;
4242

43-
public function __construct(CacheClearerInterface $cacheClearer, Filesystem $filesystem = null)
43+
public function __construct(CacheClearerInterface $cacheClearer, ?Filesystem $filesystem = null)
4444
{
4545
parent::__construct();
4646

Command/CachePoolClearCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ final class CachePoolClearCommand extends Command
3838
/**
3939
* @param string[]|null $poolNames
4040
*/
41-
public function __construct(Psr6CacheClearer $poolClearer, array $poolNames = null)
41+
public function __construct(Psr6CacheClearer $poolClearer, ?array $poolNames = null)
4242
{
4343
parent::__construct();
4444

Command/CachePoolDeleteCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ final class CachePoolDeleteCommand extends Command
3535
/**
3636
* @param string[]|null $poolNames
3737
*/
38-
public function __construct(Psr6CacheClearer $poolClearer, array $poolNames = null)
38+
public function __construct(Psr6CacheClearer $poolClearer, ?array $poolNames = null)
3939
{
4040
parent::__construct();
4141

0 commit comments

Comments
 (0)