src/Processor/NotificationProcessor.php
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
BounceNotificationHandler $bounceNotificationHandler,
ComplaintNotificationHandler $complaintNotificationHandler,
DeliveryNotificationHandler $deliveryNotificationHandler,
EntityManagerInterface $entityManager,
MessageHelper $messageHelper
Avoid too many return
statements within this method. Open
Open
return $this->deliveryNotificationHandler->processNotification($notificationData, $mailMessage);
Avoid too many return
statements within this method. Open
Open
return $this->complaintNotificationHandler->processNotification($notificationData, $mailMessage);
Avoid too many return
statements within this method. Open
Open
return new Response('Notification type not understood', 403);