Skip to content

Commit 349478d

Browse files
committed
run cs fixer
1 parent 83e8fbc commit 349478d

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.php-cs-fixer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
->setRules([
66
'@Symfony' => true,
77
'yoda_style' => false,
8+
'trailing_comma_in_multiline' => false,
89
])
910
;

src/DependencyInjection/NelmioSolariumExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
use Symfony\Component\DependencyInjection\Alias;
2020
use Symfony\Component\DependencyInjection\ContainerBuilder;
2121
use Symfony\Component\DependencyInjection\Definition;
22+
use Symfony\Component\DependencyInjection\Extension\Extension;
2223
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
2324
use Symfony\Component\DependencyInjection\Reference;
24-
use Symfony\Component\DependencyInjection\Extension\Extension;
2525

2626
/**
2727
* @author Igor Wiedler <[email protected]>

tests/NelmioSolariumExtensionTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public function testLoadEmptyConfiguration()
3434
{
3535
$config = [
3636
'clients' => [
37-
'default' => [],
38-
],
37+
'default' => [],
38+
],
3939
];
4040

4141
$container = $this->createCompiledContainerForConfig($config);
@@ -59,8 +59,8 @@ public function testNoClients()
5959
{
6060
$config = [
6161
'endpoints' => [
62-
'default' => [],
63-
],
62+
'default' => [],
63+
],
6464
];
6565

6666
$container = $this->createCompiledContainerForConfig($config);
@@ -118,11 +118,11 @@ public function testDefaultClient()
118118
public function testPlugins()
119119
{
120120
$config = [
121-
'clients' => [
122-
'client' => [
123-
'plugins' => ['plugin1' => ['plugin_service' => 'my_plugin'], 'plugin2' => ['plugin_class' => MyPluginClass::class]],
121+
'clients' => [
122+
'client' => [
123+
'plugins' => ['plugin1' => ['plugin_service' => 'my_plugin'], 'plugin2' => ['plugin_class' => MyPluginClass::class]],
124+
],
124125
],
125-
],
126126
];
127127

128128
$container = $this->createCompiledContainerForConfig($config, true, ['my_plugin' => new Definition(MyPluginClass::class)]);

0 commit comments

Comments
 (0)