Completed
Push — master ( ccd20f...6ee4e9 )
by dan
02:09
created
Broadcast/Broadcaster.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 
6 6
 use IrishDan\NotificationBundle\Channel\ChannelInterface;
7
-use IrishDan\NotificationBundle\Notification\NotifiableInterface;
8 7
 use IrishDan\NotificationBundle\Notification\NotificationInterface;
9 8
 
10 9
 class Broadcaster
Please login to merge, or discard this patch.
DependencyInjection/NotificationExtension.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
+    /**
60
+     * @param ContainerBuilder $container
61
+     */
59 62
     private function createBroadcaster($name, $broadcaster, $container)
60 63
     {
61 64
         // var_dump($name);
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\HttpKernel\DependencyInjection\Extension;
7 6
 use Symfony\Component\DependencyInjection\ContainerBuilder;
8 7
 
Please login to merge, or discard this patch.
Formatter/MailDataFormatter.php 1 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\Formatter;
4 4
 
5
-use IrishDan\NotificationBundle\Message\MailMessage;
6 5
 use IrishDan\NotificationBundle\Message\Message;
7 6
 use IrishDan\NotificationBundle\Notification\NotificationInterface;
8 7
 
Please login to merge, or discard this patch.
Formatter/SlackWebhookFormatter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use IrishDan\NotificationBundle\Message\Message;
6 6
 use IrishDan\NotificationBundle\Notification\NotificationInterface;
7 7
 use IrishDan\NotificationBundle\Slackable;
8
-use IrishDan\NotificationBundle\Textable;
9 8
 
10 9
 class SlackWebhookFormatter implements MessageFormatterInterface
11 10
 {
Please login to merge, or discard this patch.
NotificationManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $this->channelManager = $channelManager;
30 30
     }
31 31
 
32
-    public function broadcast(NotificationInterface $notificatin, array $broadcasters  = null) {
32
+    public function broadcast(NotificationInterface $notificatin, array $broadcasters = null) {
33 33
 
34 34
     }
35 35
 
Please login to merge, or discard this patch.
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.