@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace IrishDan\NotificationBundle\Channel; |
| 4 | 4 | |
| 5 | -use IrishDan\NotificationBundle\Message\BaseMessage; |
|
| 6 | 5 | use IrishDan\NotificationBundle\Message\MessageInterface; |
| 7 | 6 | use IrishDan\NotificationBundle\Notification\NotificationInterface; |
| 8 | 7 | use IrishDan\NotificationBundle\Formatter\MessageFormatterInterface; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace IrishDan\NotificationBundle\Dispatcher; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | -use IrishDan\NotificationBundle\Message\BaseMessage; |
|
| 7 | 6 | use IrishDan\NotificationBundle\Message\MessageInterface; |
| 8 | 7 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 9 | 8 | |
@@ -4,7 +4,6 @@ |
||
| 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 |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -2,7 +2,6 @@ |
||
| 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 | |
@@ -5,7 +5,6 @@ |
||
| 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 | { |
@@ -21,8 +21,8 @@ |
||
| 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']); |