Skip to content

Commit 7ff0686

Browse files
keradusxabbuh
authored andcommitted
CS: re-apply trailing_comma_in_multiline
1 parent f228f1d commit 7ff0686

12 files changed

+13
-13
lines changed

Tests/Fixtures/AcmeConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function nested(array $value)
2929
public function toArray(): array
3030
{
3131
return [
32-
'color' => $this->color
32+
'color' => $this->color,
3333
];
3434
}
3535

Tests/Fixtures/AutoconfigureAttributed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
['another_tag' => ['attr' => 234]],
1919
],
2020
calls: [
21-
['setBar' => [2, 3]]
21+
['setBar' => [2, 3]],
2222
],
2323
bind: [
2424
'$bar' => 1,

Tests/Fixtures/FooClassWithDefaultArrayAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ class FooClassWithDefaultArrayAttribute
77
public function __construct(
88
array $array = ['a', 'b', 'c'],
99
bool $firstOptional = false,
10-
bool $secondOptional = false
10+
bool $secondOptional = false,
1111
) {}
1212
}

Tests/Fixtures/TaggedLocatorConsumerConsumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
final class TaggedLocatorConsumerConsumer
1515
{
1616
public function __construct(
17-
private TaggedLocatorConsumer $locatorConsumer
17+
private TaggedLocatorConsumer $locatorConsumer,
1818
) {
1919
}
2020

Tests/Fixtures/TaggedLocatorConsumerFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ final class TaggedLocatorConsumerFactory
1818
{
1919
public function __invoke(
2020
#[AutowireLocator('foo_bar', indexAttribute: 'key')]
21-
ContainerInterface $locator
21+
ContainerInterface $locator,
2222
): TaggedLocatorConsumer {
2323
return new TaggedLocatorConsumer($locator);
2424
}

Tests/Fixtures/TaggedService4.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ public function __construct(
2929
private string $param1,
3030
#[CustomAnyAttribute]
3131
#[CustomParameterAttribute(someAttribute: "on param2 in constructor")]
32-
string $param2
32+
string $param2,
3333
) {}
3434

3535
#[CustomAnyAttribute]
3636
#[CustomMethodAttribute(someAttribute: "on fooAction")]
3737
public function fooAction(
3838
#[CustomAnyAttribute]
3939
#[CustomParameterAttribute(someAttribute: "on param1 in fooAction")]
40-
string $param1
40+
string $param1,
4141
) {}
4242

4343
#[CustomAnyAttribute]

Tests/Fixtures/TaggedService5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ public function __construct(
2727
#[CustomChildAttribute]
2828
public function fooAction(
2929
#[CustomChildAttribute]
30-
string $param1
30+
string $param1,
3131
) {}
3232
}

Tests/Fixtures/WithTarget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class WithTarget
1717
{
1818
public function __construct(
1919
#[Target('image.storage')]
20-
BarInterface $bar
20+
BarInterface $bar,
2121
) {
2222
}
2323
}

Tests/Fixtures/WithTargetAnonymous.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class WithTargetAnonymous
1717
{
1818
public function __construct(
1919
#[Target]
20-
BarInterface $baz
20+
BarInterface $baz,
2121
) {
2222
}
2323
}

Tests/Fixtures/config/env_configurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
->set('foo', \stdClass::class)
1010
->public()
1111
->args([
12-
env('CCC')->int()
12+
env('CCC')->int(),
1313
]);
1414
};

0 commit comments

Comments
 (0)