Completed
Push — shift-2349 ( 158445 )
by Stephen
09:01
created
src/MailTracking.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     protected function seeEmailBcc($bcc, Swift_Message $message = null)
98 98
     {
99 99
         $this->assertArrayHasKey($bcc, (array)$this->getEmail($message)
100
-                                                   ->getBcc(), "The last email sent was not bcc'ed to $bcc.");
100
+                                                    ->getBcc(), "The last email sent was not bcc'ed to $bcc.");
101 101
 
102 102
         return $this;
103 103
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     protected function seeEmailCc($cc, Swift_Message $message = null)
114 114
     {
115 115
         $this->assertArrayHasKey($cc, (array)$this->getEmail($message)
116
-                                                  ->getCc(), "The last email sent was not cc'ed to $cc.");
116
+                                                    ->getCc(), "The last email sent was not cc'ed to $cc.");
117 117
 
118 118
         return $this;
119 119
     }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     protected function seeEmailContains($excerpt, Swift_Message $message = null)
130 130
     {
131 131
         $this->assertContains($excerpt, $this->getEmail($message)
132
-                                             ->getBody(), "The last email sent did not contain the provided body.");
132
+                                                ->getBody(), "The last email sent did not contain the provided body.");
133 133
 
134 134
         return $this;
135 135
     }
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     {
204 204
         // TODO: Allow from to be an array to check email & name
205 205
         $this->assertArrayHasKey($sender, (array)$this->getEmail($message)
206
-                                                      ->getFrom(), "The last email sent was not sent from $sender.");
206
+                                                        ->getFrom(), "The last email sent was not sent from $sender.");
207 207
 
208 208
         return $this;
209 209
     }
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         $this->assertContains(
308 308
             $excerpt,
309 309
             $this->getEmail($message)
310
-                                             ->getSubject(),
310
+                                                ->getSubject(),
311 311
             "The last email sent did not contain the provided subject."
312 312
         );
313 313
 
@@ -347,7 +347,7 @@  discard block
 block discarded – undo
347 347
         $this->assertEquals(
348 348
             $subject,
349 349
             $this->getEmail($message)
350
-                                           ->getSubject(),
350
+                                            ->getSubject(),
351 351
             "The last email sent did not contain a subject of $subject."
352 352
         );
353 353
 
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     protected function seeEmailTo($recipient, Swift_Message $message = null)
366 366
     {
367 367
         $this->assertArrayHasKey($recipient, (array)$this->getEmail($message)
368
-                                                         ->getTo(), "The last email sent was not sent to $recipient.");
368
+                                                            ->getTo(), "The last email sent was not sent to $recipient.");
369 369
 
370 370
         return $this;
371 371
     }
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      */
97 97
     protected function seeEmailBcc($bcc, Swift_Message $message = null)
98 98
     {
99
-        $this->assertArrayHasKey($bcc, (array)$this->getEmail($message)
99
+        $this->assertArrayHasKey($bcc, (array) $this->getEmail($message)
100 100
                                                    ->getBcc(), "The last email sent was not bcc'ed to $bcc.");
101 101
 
102 102
         return $this;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     protected function seeEmailCc($cc, Swift_Message $message = null)
114 114
     {
115
-        $this->assertArrayHasKey($cc, (array)$this->getEmail($message)
115
+        $this->assertArrayHasKey($cc, (array) $this->getEmail($message)
116 116
                                                   ->getCc(), "The last email sent was not cc'ed to $cc.");
117 117
 
118 118
         return $this;
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     protected function seeEmailFrom($sender, Swift_Message $message = null)
203 203
     {
204 204
         // TODO: Allow from to be an array to check email & name
205
-        $this->assertArrayHasKey($sender, (array)$this->getEmail($message)
205
+        $this->assertArrayHasKey($sender, (array) $this->getEmail($message)
206 206
                                                       ->getFrom(), "The last email sent was not sent from $sender.");
207 207
 
208 208
         return $this;
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     {
244 244
         $this->assertArrayHasKey(
245 245
             $reply_to,
246
-            (array)$this->getEmail($message)
246
+            (array) $this->getEmail($message)
247 247
                                                         ->getReplyTo(),
248 248
             "The last email sent was not set to reply to $reply_to."
249 249
         );
@@ -364,7 +364,7 @@  discard block
 block discarded – undo
364 364
      */
365 365
     protected function seeEmailTo($recipient, Swift_Message $message = null)
366 366
     {
367
-        $this->assertArrayHasKey($recipient, (array)$this->getEmail($message)
367
+        $this->assertArrayHasKey($recipient, (array) $this->getEmail($message)
368 368
                                                          ->getTo(), "The last email sent was not sent to $recipient.");
369 369
 
370 370
         return $this;
Please login to merge, or discard this patch.