@@ -232,8 +232,7 @@ public function testRollbarHandlerCreatesNotifier()
232232
233233 $ handler = $ container ->getDefinition ('monolog.handler.main ' );
234234 $ this ->assertDICDefinitionClass ($ handler , 'Monolog\Handler\RollbarHandler ' );
235- $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.rollbar.notifier.1c8e6a67728dff6a209f828427128dd8b3c2b746 ' ), \Monolog \Logger::DEBUG , true ]
236- );
235+ $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.rollbar.notifier.1c8e6a67728dff6a209f828427128dd8b3c2b746 ' ), \Monolog \Logger::DEBUG , true ]);
237236 }
238237
239238 public function testRollbarHandlerReusesNotifier ()
@@ -456,15 +455,13 @@ public function testLogglyHandler()
456455 $ handler = $ container ->getDefinition ('monolog.handler.loggly ' );
457456 $ this ->assertDICDefinitionClass ($ handler , 'Monolog\Handler\LogglyHandler ' );
458457 $ this ->assertDICConstructorArguments ($ handler , [$ token , \Monolog \Logger::DEBUG , true ]);
459- $ this ->assertDICDefinitionMethodCallAt (0 , $ handler , 'pushProcessor ' , [new Reference ('monolog.processor.psr_log_message ' )]
460- );
458+ $ this ->assertDICDefinitionMethodCallAt (0 , $ handler , 'pushProcessor ' , [new Reference ('monolog.processor.psr_log_message ' )]);
461459
462460 $ container = $ this ->getContainer ([['handlers ' => ['loggly ' => [
463461 'type ' => 'loggly ' , 'token ' => $ token , 'tags ' => [' ' , 'foo ' , '' , 'bar ' ]
464462 ]]]]);
465463 $ handler = $ container ->getDefinition ('monolog.handler.loggly ' );
466- $ this ->assertDICDefinitionMethodCallAt (0 , $ handler , 'pushProcessor ' , [new Reference ('monolog.processor.psr_log_message ' )]
467- );
464+ $ this ->assertDICDefinitionMethodCallAt (0 , $ handler , 'pushProcessor ' , [new Reference ('monolog.processor.psr_log_message ' )]);
468465 $ this ->assertDICDefinitionMethodCallAt (1 , $ handler , 'setTag ' , ['foo,bar ' ]);
469466 }
470467
@@ -487,13 +484,11 @@ public function testFingersCrossedHandlerWhenExcluded404sAreSpecified()
487484
488485 $ strategy = $ container ->getDefinition ('monolog.handler.main.not_found_strategy ' );
489486 $ this ->assertDICDefinitionClass ($ strategy , 'Symfony\Bridge\Monolog\Handler\FingersCrossed\NotFoundActivationStrategy ' );
490- $ this ->assertDICConstructorArguments ($ strategy , [new Reference ('request_stack ' ), ['^/foo ' , '^/bar ' ], \Monolog \Logger::WARNING ]
491- );
487+ $ this ->assertDICConstructorArguments ($ strategy , [new Reference ('request_stack ' ), ['^/foo ' , '^/bar ' ], \Monolog \Logger::WARNING ]);
492488
493489 $ handler = $ container ->getDefinition ('monolog.handler.main ' );
494490 $ this ->assertDICDefinitionClass ($ handler , 'Monolog\Handler\FingersCrossedHandler ' );
495- $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.handler.nested ' ), new Reference ('monolog.handler.main.not_found_strategy ' ), 0 , true , true , null ]
496- );
491+ $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.handler.nested ' ), new Reference ('monolog.handler.main.not_found_strategy ' ), 0 , true , true , null ]);
497492 }
498493
499494 public function testFingersCrossedHandlerWhenExcludedHttpCodesAreSpecified ()
@@ -535,8 +530,7 @@ public function testFingersCrossedHandlerWhenExcludedHttpCodesAreSpecified()
535530
536531 $ handler = $ container ->getDefinition ('monolog.handler.main ' );
537532 $ this ->assertDICDefinitionClass ($ handler , 'Monolog\Handler\FingersCrossedHandler ' );
538- $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.handler.nested ' ), new Reference ('monolog.handler.main.http_code_strategy ' ), 0 , true , true , null ]
539- );
533+ $ this ->assertDICConstructorArguments ($ handler , [new Reference ('monolog.handler.nested ' ), new Reference ('monolog.handler.main.http_code_strategy ' ), 0 , true , true , null ]);
540534 }
541535
542536 protected function getContainer (array $ config = [], array $ thirdPartyDefinitions = [])
0 commit comments