Skip to content

Commit

Permalink
run cs fixer (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher authored Feb 25, 2025
1 parent 83e8fbc commit d6f4b1d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
->setRules([
'@Symfony' => true,
'yoda_style' => false,
'trailing_comma_in_multiline' => false,
])
;
2 changes: 1 addition & 1 deletion src/DependencyInjection/NelmioSolariumExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
use Symfony\Component\DependencyInjection\Alias;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Reference;
use Symfony\Component\DependencyInjection\Extension\Extension;

/**
* @author Igor Wiedler <[email protected]>
Expand Down
16 changes: 8 additions & 8 deletions tests/NelmioSolariumExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function testLoadEmptyConfiguration()
{
$config = [
'clients' => [
'default' => [],
],
'default' => [],
],
];

$container = $this->createCompiledContainerForConfig($config);
Expand All @@ -59,8 +59,8 @@ public function testNoClients()
{
$config = [
'endpoints' => [
'default' => [],
],
'default' => [],
],
];

$container = $this->createCompiledContainerForConfig($config);
Expand Down Expand Up @@ -118,11 +118,11 @@ public function testDefaultClient()
public function testPlugins()
{
$config = [
'clients' => [
'client' => [
'plugins' => ['plugin1' => ['plugin_service' => 'my_plugin'], 'plugin2' => ['plugin_class' => MyPluginClass::class]],
'clients' => [
'client' => [
'plugins' => ['plugin1' => ['plugin_service' => 'my_plugin'], 'plugin2' => ['plugin_class' => MyPluginClass::class]],
],
],
],
];

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

0 comments on commit d6f4b1d

Please sign in to comment.