Skip to content

Commit 5cef148

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: fixed CS fixed CS [HttpKernel] Remove TestEventDispatcher.
2 parents a5eca69 + 930025f commit 5cef148

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CacheWarmer/AnnotationsCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(Reader $annotationReader, string $phpArrayFile, $exc
4040
if ($excludeRegexp instanceof CacheItemPoolInterface) {
4141
@trigger_error(sprintf('The CacheItemPoolInterface $fallbackPool argument of "%s()" is deprecated since Symfony 4.2, you should not pass it anymore.', __METHOD__), E_USER_DEPRECATED);
4242
$excludeRegexp = $debug;
43-
$debug = 4 < \func_num_args() && \func_get_arg(4);
43+
$debug = 4 < \func_num_args() && func_get_arg(4);
4444
}
4545
parent::__construct($phpArrayFile);
4646
$this->annotationReader = $annotationReader;

CacheWarmer/SerializerCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SerializerCacheWarmer extends AbstractPhpFileCacheWarmer
3636
*/
3737
public function __construct(array $loaders, string $phpArrayFile)
3838
{
39-
if (2 < \func_num_args() && \func_get_arg(2) instanceof CacheItemPoolInterface) {
39+
if (2 < \func_num_args() && func_get_arg(2) instanceof CacheItemPoolInterface) {
4040
@trigger_error(sprintf('The CacheItemPoolInterface $fallbackPool argument of "%s()" is deprecated since Symfony 4.2, you should not pass it anymore.', __METHOD__), E_USER_DEPRECATED);
4141
}
4242
parent::__construct($phpArrayFile);

CacheWarmer/ValidatorCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ValidatorCacheWarmer extends AbstractPhpFileCacheWarmer
3737
*/
3838
public function __construct(ValidatorBuilderInterface $validatorBuilder, string $phpArrayFile)
3939
{
40-
if (2 < \func_num_args() && \func_get_arg(2) instanceof CacheItemPoolInterface) {
40+
if (2 < \func_num_args() && func_get_arg(2) instanceof CacheItemPoolInterface) {
4141
@trigger_error(sprintf('The CacheItemPoolInterface $fallbackPool argument of "%s()" is deprecated since Symfony 4.2, you should not pass it anymore.', __METHOD__), E_USER_DEPRECATED);
4242
}
4343
parent::__construct($phpArrayFile);

0 commit comments

Comments
 (0)