Skip to content

Commit 19f8a5e

Browse files
authored
Merge pull request #633 from FriendsOfSymfony/cs
apply latest cs fixer rules
2 parents c878897 + 885c2dd commit 19f8a5e

22 files changed

+23
-23
lines changed

src/CacheManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class CacheManager extends CacheInvalidator
3131

3232
public function __construct(
3333
private readonly ProxyClient $cache,
34-
private readonly UrlGeneratorInterface $urlGenerator
34+
private readonly UrlGeneratorInterface $urlGenerator,
3535
) {
3636
parent::__construct($cache);
3737
}

src/Command/BaseInvalidateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ abstract class BaseInvalidateCommand extends Command
2626
* is automatically loaded.
2727
*/
2828
public function __construct(
29-
private CacheManager $cacheManager
29+
private CacheManager $cacheManager,
3030
) {
3131
parent::__construct();
3232
}

src/Configuration/InvalidatePath.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class InvalidatePath
2323
* @param string|string[] $data
2424
*/
2525
public function __construct(
26-
string|array $data = []
26+
string|array $data = [],
2727
) {
2828
$values = [];
2929
if (is_string($data)) {

src/Configuration/InvalidateRoute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class InvalidateRoute
2020

2121
public function __construct(
2222
string|array $data = [],
23-
array $params = []
23+
array $params = [],
2424
) {
2525
$values = [];
2626
if (is_string($data)) {

src/Configuration/Tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Tag
2626

2727
public function __construct(
2828
string|array $data = [],
29-
?Expression $expression = null
29+
?Expression $expression = null,
3030
) {
3131
$values = [];
3232
if (is_string($data)) {

src/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
final class Configuration implements ConfigurationInterface
3838
{
3939
public function __construct(
40-
private readonly bool $debug
40+
private readonly bool $debug,
4141
) {
4242
}
4343

src/EventListener/AbstractRuleListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract class AbstractRuleListener
3030
*/
3131
public function addRule(
3232
RequestMatcherInterface $requestMatcher,
33-
array $settings = []
33+
array $settings = [],
3434
): void {
3535
$this->rulesMap[] = [$requestMatcher, $settings];
3636
}

src/EventListener/AttributesListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
final class AttributesListener implements EventSubscriberInterface
1919
{
2020
public function __construct(
21-
private readonly ControllerResolverInterface $controllerResolver
21+
private readonly ControllerResolverInterface $controllerResolver,
2222
) {
2323
}
2424

src/EventListener/CacheControlListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(
5555
*
5656
* @var string|false Name of the header or false to add no header
5757
*/
58-
private readonly string|false $debugHeader = false
58+
private readonly string|false $debugHeader = false,
5959
) {
6060
}
6161

@@ -145,7 +145,7 @@ public function onKernelResponse(ResponseEvent $event): void
145145
*/
146146
public function addRule(
147147
RuleMatcherInterface $ruleMatcher,
148-
array $settings = []
148+
array $settings = [],
149149
): void {
150150
$this->rulesMap[] = [$ruleMatcher, $settings];
151151
}

src/EventListener/InvalidationListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(
3939
private readonly CacheManager $cacheManager,
4040
private readonly UrlGeneratorInterface $urlGenerator,
4141
private readonly RuleMatcherInterface $mustInvalidateRule,
42-
private ?ExpressionLanguage $expressionLanguage = null
42+
private ?ExpressionLanguage $expressionLanguage = null,
4343
) {
4444
}
4545

0 commit comments

Comments
 (0)