Skip to content

Commit 696c83d

Browse files
committed
Fixed CS
1 parent ab8dcdc commit 696c83d

File tree

8 files changed

+16
-17
lines changed

8 files changed

+16
-17
lines changed

Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public function testProcess()
2929
$service = $container->getDefinition('test');
3030
$this->assertEquals('monolog.logger.test', (string) $service->getArgument(1), '->process replaces the logger by the new one');
3131

32-
3332
// pushHandlers for service "test"
3433
$expected = array(
3534
'test' => array('monolog.handler.a', 'monolog.handler.b', 'monolog.handler.c'),

Tests/DependencyInjection/DependencyInjectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ abstract class DependencyInjectionTest extends TestCase
1919
* Assertion on the Class of a DIC Service Definition.
2020
*
2121
* @param \Symfony\Component\DependencyInjection\Definition $definition
22-
* @param string $expectedClass
22+
* @param string $expectedClass
2323
*/
2424
protected function assertDICDefinitionClass($definition, $expectedClass)
2525
{

Tests/DependencyInjection/Fixtures/xml/handlers_with_channels.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010
<service id="security_logger" class="Foo">
1111
<tag name="monolog.logger" channel="security" />
1212
</service>
13-
13+
1414
<service id="doctrine_logger" class="Foo">
1515
<tag name="monolog.logger" channel="doctrine" />
1616
</service>
17-
17+
1818
<service id="foo_logger" class="Foo">
1919
<tag name="monolog.logger" channel="foo" />
2020
</service>
21-
21+
2222
<service id="bar_logger" class="Foo">
2323
<tag name="monolog.logger" channel="bar" />
2424
</service>
2525
</services>
26-
26+
2727
<monolog:config>
2828
<monolog:handler name="custom" type="stream" path="/tmp/symfony.log" bubble="false" level="ERROR">
2929
<monolog:channels>

Tests/DependencyInjection/Fixtures/yml/handlers_with_channels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ services:
22
security_logger:
33
class: Foo
44
tags: [{ name: monolog.logger, channel: security }]
5-
5+
66
doctrine_logger:
77
class: Foo
88
tags: [{ name: monolog.logger, channel: doctrine }]
9-
9+
1010
foo_logger:
1111
class: Foo
1212
tags: [{ name: monolog.logger, channel: foo }]
13-
13+
1414
bar_logger:
1515
class: Foo
1616
tags: [{ name: monolog.logger, channel: bar }]
17-
17+
1818
monolog:
1919
handlers:
2020
custom:

Tests/DependencyInjection/Fixtures/yml/new_and_priority_import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ monolog:
1010
level: INFO
1111
handler: nested
1212
nested:
13-
type: stream
13+
type: stream

Tests/DependencyInjection/Fixtures/yml/new_at_end_import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ monolog:
1010
action_level: ERROR
1111
handler: nested
1212
nested:
13-
type: stream
13+
type: stream

Tests/DependencyInjection/Fixtures/yml/overwriting_import.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ monolog:
1010
action_level: ERROR
1111
handler: nested
1212
nested:
13-
type: stream
13+
type: stream

Tests/DependencyInjection/MonologExtensionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class MonologExtensionTest extends DependencyInjectionTest
2121
public function testLoadWithDefault()
2222
{
2323
$container = $this->getContainer(array(array('handlers' => array('main' => array('type' => 'stream')))));
24-
24+
2525
$this->assertTrue($container->hasDefinition('monolog.logger'));
2626
$this->assertTrue($container->hasDefinition('monolog.handler.main'));
2727

@@ -124,18 +124,18 @@ public function testExceptionWhenUsingDebugName()
124124

125125
$loader->load(array(array('handlers' => array('debug' => array('type' => 'stream')))), $container);
126126
}
127-
127+
128128
protected function getContainer(array $config = array())
129129
{
130130
$container = new ContainerBuilder();
131131
$container->getCompilerPassConfig()->setOptimizationPasses(array());
132132
$container->getCompilerPassConfig()->setRemovingPasses(array());
133133
$container->addCompilerPass(new LoggerChannelPass());
134-
134+
135135
$loader = new MonologExtension();
136136
$loader->load($config, $container);
137137
$container->compile();
138-
138+
139139
return $container;
140140
}
141141
}

0 commit comments

Comments
 (0)