Completed
Push — master ( 166b13...ff8131 )
by dan
01:59
created
Dispatcher/MailMessageDispatcher.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 
22 22
 
23 23
         $mail = \Swift_Message::newInstance()
24
-                              ->setSubject($messageData['subject'])
25
-                              ->setBody($messageData['body']);
24
+                                ->setSubject($messageData['subject'])
25
+                                ->setBody($messageData['body']);
26 26
 
27 27
         $mail->setFrom($dispatchData['from']);
28 28
         $mail->setTo($dispatchData['to']);
Please login to merge, or discard this patch.
Channel/EventChannel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace IrishDan\NotificationBundle\Channel;
4 4
 
5
-use IrishDan\NotificationBundle\Dispatcher\MessageDispatcherInterface;
6 5
 use IrishDan\NotificationBundle\Event\MessageCreatedEvent;
7 6
 use IrishDan\NotificationBundle\Exception\MessageDispatchException;
8 7
 use IrishDan\NotificationBundle\Exception\MessageFormatException;
9
-use IrishDan\NotificationBundle\Formatter\MessageFormatterInterface;
10 8
 use IrishDan\NotificationBundle\Message\MessageInterface;
11 9
 use IrishDan\NotificationBundle\Notification\NotificationInterface;
12 10
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
Please login to merge, or discard this patch.
DependencyInjection/NotificationExtension.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
         }
96 96
     }
97 97
 
98
+    /**
99
+     * @param ContainerBuilder $container
100
+     */
98 101
     private function createBroadcaster($name, $broadcaster, $container)
99 102
     {
100 103
         //
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace IrishDan\NotificationBundle\DependencyInjection;
4 4
 
5
-use IrishDan\NotificationBundle\DependencyInjection\Factory\Broadcaster\SlackBroadcasterFactory;
6 5
 use Symfony\Component\DependencyInjection\Definition;
7 6
 use Symfony\Component\DependencyInjection\Reference;
8 7
 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
Please login to merge, or discard this patch.