Skip to content

Commit c2f7038

Browse files
committed
Minor style
1 parent 3dab8d1 commit c2f7038

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Tests/DependencyInjection/FixtureMonologExtensionTest.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,13 @@ public function testSingleEmailRecipient()
145145
{
146146
$container = $this->getContainer('single_email_recipient');
147147

148-
$this->assertEquals(
149-
[
148+
$this->assertEquals([
150149
new Reference('mailer'),
151150
'error@example.com', // from
152151
['error@example.com'], // to
153152
'An Error Occurred!', // subject
154153
null,
155-
], $container->getDefinition('monolog.handler.swift.mail_message_factory')->getArguments());
154+
], $container->getDefinition('monolog.handler.swift.mail_message_factory')->getArguments());
156155
}
157156

158157
public function testServerLog()
@@ -163,26 +162,24 @@ public function testServerLog()
163162

164163
$container = $this->getContainer('server_log');
165164

166-
$this->assertEquals(
167-
[
165+
$this->assertEquals([
168166
'0:9911',
169167
100,
170168
true,
171-
], $container->getDefinition('monolog.handler.server_log')->getArguments());
169+
], $container->getDefinition('monolog.handler.server_log')->getArguments());
172170
}
173171

174172
public function testMultipleEmailRecipients()
175173
{
176174
$container = $this->getContainer('multiple_email_recipients');
177175

178-
$this->assertEquals(
179-
[
176+
$this->assertEquals([
180177
new Reference('mailer'),
181178
'error@example.com',
182179
['dev1@example.com', 'dev2@example.com'],
183180
'An Error Occurred!',
184181
null
185-
], $container->getDefinition('monolog.handler.swift.mail_message_factory')->getArguments());
182+
], $container->getDefinition('monolog.handler.swift.mail_message_factory')->getArguments());
186183
}
187184

188185
public function testChannelParametersResolved()

0 commit comments

Comments
 (0)