Skip to content

Commit 4831e1c

Browse files
keradusnicolas-grekas
authored andcommitted
chore: CS fixes
1 parent 2da3b51 commit 4831e1c

File tree

4 files changed

+21
-22
lines changed

4 files changed

+21
-22
lines changed

Dumper/GraphvizDumper.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ class GraphvizDumper extends Dumper
3434
private array $edges;
3535
// All values should be strings
3636
private array $options = [
37-
'graph' => ['ratio' => 'compress'],
38-
'node' => ['fontsize' => '11', 'fontname' => 'Arial', 'shape' => 'record'],
39-
'edge' => ['fontsize' => '9', 'fontname' => 'Arial', 'color' => 'grey', 'arrowhead' => 'open', 'arrowsize' => '0.5'],
40-
'node.instance' => ['fillcolor' => '#9999ff', 'style' => 'filled'],
41-
'node.definition' => ['fillcolor' => '#eeeeee'],
42-
'node.missing' => ['fillcolor' => '#ff9999', 'style' => 'filled'],
43-
];
37+
'graph' => ['ratio' => 'compress'],
38+
'node' => ['fontsize' => '11', 'fontname' => 'Arial', 'shape' => 'record'],
39+
'edge' => ['fontsize' => '9', 'fontname' => 'Arial', 'color' => 'grey', 'arrowhead' => 'open', 'arrowsize' => '0.5'],
40+
'node.instance' => ['fillcolor' => '#9999ff', 'style' => 'filled'],
41+
'node.definition' => ['fillcolor' => '#eeeeee'],
42+
'node.missing' => ['fillcolor' => '#ff9999', 'style' => 'filled'],
43+
];
4444

4545
/**
4646
* Dumps the service container as a graphviz graph.

Tests/Compiler/InlineServiceDefinitionsPassTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ public function testProcessDoesNotInlinePrivateFactoryIfReferencedMultipleTimesW
223223
->register('foo')
224224
->setPublic(true)
225225
->setArguments([
226-
$ref1 = new Reference('b'),
227-
$ref2 = new Reference('b'),
228-
])
226+
$ref1 = new Reference('b'),
227+
$ref2 = new Reference('b'),
228+
])
229229
;
230230
$this->process($container);
231231

@@ -252,9 +252,9 @@ public function testProcessDoesNotInlineReferenceWhenUsedByInlineFactory()
252252
->register('foo')
253253
->setPublic(true)
254254
->setArguments([
255-
$ref = new Reference('b'),
256-
$inlineFactory,
257-
])
255+
$ref = new Reference('b'),
256+
$inlineFactory,
257+
])
258258
;
259259
$this->process($container);
260260

Tests/Compiler/MergeExtensionConfigurationPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ public function testMissingParameterIncludesExtension()
151151
$this->assertInstanceOf(ParameterNotFoundException::class, $e);
152152
$this->assertSame('You have requested a non-existent parameter "missing_parameter" while loading extension "foo".', $e->getMessage());
153153
}
154-
155154
}
156155

157156
public function testReuseEnvPlaceholderGeneratedByPreviousExtension()

Tests/Loader/XmlFileLoaderTest.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,14 +1224,14 @@ public function testBindingsAndInnerCollections($bindName, $expected)
12241224
public static function dataForBindingsAndInnerCollections()
12251225
{
12261226
return [
1227-
['bar1', ['item.1', 'item.2']],
1228-
['bar2', ['item.1', 'item.2']],
1229-
['bar3', ['item.1', 'item.2', 'item.3', 'item.4']],
1230-
['bar4', ['item.1', 'item.3', 'item.4']],
1231-
['bar5', ['item.1', 'item.2', ['item.3.1', 'item.3.2']]],
1232-
['bar6', ['item.1', ['item.2.1', 'item.2.2'], 'item.3']],
1233-
['bar7', new IteratorArgument(['item.1', 'item.2'])],
1234-
['bar8', new IteratorArgument(['item.1', 'item.2', ['item.3.1', 'item.3.2']])],
1227+
['bar1', ['item.1', 'item.2']],
1228+
['bar2', ['item.1', 'item.2']],
1229+
['bar3', ['item.1', 'item.2', 'item.3', 'item.4']],
1230+
['bar4', ['item.1', 'item.3', 'item.4']],
1231+
['bar5', ['item.1', 'item.2', ['item.3.1', 'item.3.2']]],
1232+
['bar6', ['item.1', ['item.2.1', 'item.2.2'], 'item.3']],
1233+
['bar7', new IteratorArgument(['item.1', 'item.2'])],
1234+
['bar8', new IteratorArgument(['item.1', 'item.2', ['item.3.1', 'item.3.2']])],
12351235
];
12361236
}
12371237

0 commit comments

Comments
 (0)