Skip to content

Commit 183137e

Browse files
committed
minor symfony#58136 CS: re-apply trailing_comma_in_multiline (keradus)
This PR was squashed before being merged into the 7.2 branch. Discussion ---------- CS: re-apply `trailing_comma_in_multiline` | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Issues | n/a | License | MIT Commits ------- b08f077 CS: re-apply `trailing_comma_in_multiline`
2 parents 5d992a1 + b08f077 commit 183137e

File tree

44 files changed

+59
-59
lines changed

Some content is hidden

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

44 files changed

+59
-59
lines changed

src/Symfony/Bridge/Doctrine/Tests/Fixtures/Type/StringWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
class StringWrapper
1515
{
1616
public function __construct(
17-
private readonly ?string $string = null
17+
private readonly ?string $string = null,
1818
) {
1919
}
2020

src/Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ public function testBaselineGenerationWithDeprecationTriggeredByDebugClassLoader
474474
$trace[2] = [
475475
'class' => DebugClassLoader::class,
476476
'function' => 'testBaselineGenerationWithDeprecationTriggeredByDebugClassLoader',
477-
'args' => [self::class]
477+
'args' => [self::class],
478478
];
479479

480480
$deprecation = new Deprecation('Deprecation by debug class loader', $trace, '');

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/messenger_multiple_failure_transports.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
'transports' => [
1010
'transport_1' => [
1111
'dsn' => 'null://',
12-
'failure_transport' => 'failure_transport_1'
12+
'failure_transport' => 'failure_transport_1',
1313
],
1414
'transport_2' => 'null://',
1515
'transport_3' => [
1616
'dsn' => 'null://',
17-
'failure_transport' => 'failure_transport_3'
17+
'failure_transport' => 'failure_transport_3',
1818
],
1919
'failure_transport_1' => 'null://',
20-
'failure_transport_3' => 'null://'
20+
'failure_transport_3' => 'null://',
2121
],
2222
],
2323
]);

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/messenger_multiple_failure_transports_global.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
'transports' => [
1111
'transport_1' => [
1212
'dsn' => 'null://',
13-
'failure_transport' => 'failure_transport_1'
13+
'failure_transport' => 'failure_transport_1',
1414
],
1515
'transport_2' => 'null://',
1616
'transport_3' => [
1717
'dsn' => 'null://',
18-
'failure_transport' => 'failure_transport_3'
18+
'failure_transport' => 'failure_transport_3',
1919
],
2020
'failure_transport_global' => 'null://',
2121
'failure_transport_1' => 'null://',

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/messenger_transports.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'multiplier' => 3,
2424
'max_delay' => 100,
2525
],
26-
'rate_limiter' => 'customised_worker'
26+
'rate_limiter' => 'customised_worker',
2727
],
2828
'failed' => 'in-memory:///',
2929
'redis' => 'redis://127.0.0.1:6379/messages',

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/notifier.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
'handle_all_throwables' => true,
1010
'php_errors' => ['log' => true],
1111
'messenger' => [
12-
'enabled' => true
12+
'enabled' => true,
1313
],
1414
'mailer' => [
1515
'dsn' => 'smtp://example.com',
@@ -18,17 +18,17 @@
1818
'enabled' => true,
1919
'notification_on_failed_messages' => true,
2020
'chatter_transports' => [
21-
'slack' => 'null'
21+
'slack' => 'null',
2222
],
2323
'texter_transports' => [
24-
'twilio' => 'null'
24+
'twilio' => 'null',
2525
],
2626
'channel_policy' => [
2727
'low' => ['slack'],
2828
'high' => ['slack', 'twilio'],
2929
],
3030
'admin_recipients' => [
3131
['email' => 'test@test.de', 'phone' => '+490815',],
32-
]
32+
],
3333
],
3434
]);

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/notifier_with_disabled_message_bus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
'notifier' => [
1515
'message_bus' => false,
1616
'chatter_transports' => [
17-
'test' => 'null'
17+
'test' => 'null',
1818
],
1919
'texter_transports' => [
20-
'test' => 'null'
20+
'test' => 'null',
2121
],
2222
],
2323
]);

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/notifier_with_specific_message_bus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
'notifier' => [
1515
'message_bus' => 'app.another_bus',
1616
'chatter_transports' => [
17-
'test' => 'null'
17+
'test' => 'null',
1818
],
1919
'texter_transports' => [
20-
'test' => 'null'
20+
'test' => 'null',
2121
],
2222
],
2323
]);

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/notifier_without_mailer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@
1818
'enabled' => true,
1919
'notification_on_failed_messages' => true,
2020
'chatter_transports' => [
21-
'slack' => 'null'
21+
'slack' => 'null',
2222
],
2323
'texter_transports' => [
24-
'twilio' => 'null'
24+
'twilio' => 'null',
2525
],
2626
'channel_policy' => [
2727
'low' => ['slack'],
2828
'high' => ['slack', 'twilio'],
2929
],
3030
'admin_recipients' => [
3131
['email' => 'test@test.de', 'phone' => '+490815',],
32-
]
32+
],
3333
],
3434
]);

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Fixtures/php/notifier_without_messenger.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@
1818
'enabled' => true,
1919
'notification_on_failed_messages' => true,
2020
'chatter_transports' => [
21-
'slack' => 'null'
21+
'slack' => 'null',
2222
],
2323
'texter_transports' => [
24-
'twilio' => 'null'
24+
'twilio' => 'null',
2525
],
2626
'channel_policy' => [
2727
'low' => ['slack'],
2828
'high' => ['slack', 'twilio'],
2929
],
3030
'admin_recipients' => [
3131
['email' => 'test@test.de', 'phone' => '+490815',],
32-
]
32+
],
3333
],
3434
'scheduler' => false,
3535
]);

0 commit comments

Comments
 (0)