Passed
Push — master ( 645444...70cdd5 )
by
unknown
05:22 queued 10s
created
src/FortySixElksChannel.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
     {
32 32
         if (method_exists($notification, 'to46Elks')) {
33 33
             if ($media = $notification->to46Elks($notifiable)) {
34
-	            try {
35
-	               return $media->send();
34
+                try {
35
+                    return $media->send();
36 36
                 } catch (\Exception $e) {
37 37
                     $this->events->dispatch(new NotificationFailed($notifiable, $notification, get_class($this), ['exception' => $e]));
38 38
                 }
Please login to merge, or discard this patch.
tests/FortySixElksChannelTest.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
         $this->channel = new FortySixElksChannel($this->dispatcher);
32 32
 
33
-		$this->smsMessage = Mockery::mock(FortySixElksSMS::class);
33
+        $this->smsMessage = Mockery::mock(FortySixElksSMS::class);
34 34
 
35 35
         $this->notifiable = new TestNotifiable();
36 36
 
@@ -46,14 +46,14 @@  discard block
 block discarded – undo
46 46
 
47 47
 
48 48
 
49
-		$this->smsMessage->shouldReceive('send')
50
-			->once()
51
-			->andReturn($this->smsMessage);
49
+        $this->smsMessage->shouldReceive('send')
50
+            ->once()
51
+            ->andReturn($this->smsMessage);
52 52
 
53
-	    $this->notification->to46Elks($this->notifiable);
54
-		$response = $this->channel->send($this->notifiable, $this->notification);
53
+        $this->notification->to46Elks($this->notifiable);
54
+        $response = $this->channel->send($this->notifiable, $this->notification);
55 55
 
56
-		$this->assertInstanceOf(FortySixElksSMS::class, $response);
56
+        $this->assertInstanceOf(FortySixElksSMS::class, $response);
57 57
 
58 58
 
59 59
     }
@@ -61,18 +61,18 @@  discard block
 block discarded – undo
61 61
 
62 62
 class TestNotifiable
63 63
 {
64
-	use Notifiable;
64
+    use Notifiable;
65 65
 }
66 66
 
67 67
 class TestNotification extends Notification
68 68
 {
69 69
 
70
-	public function __construct($message) {
71
-		$this->message =  $message;
72
-	}
70
+    public function __construct($message) {
71
+        $this->message =  $message;
72
+    }
73 73
 
74
-	public function to46Elks($notifiable)
75
-	{
76
-		return $this->message;
77
-	}
74
+    public function to46Elks($notifiable)
75
+    {
76
+        return $this->message;
77
+    }
78 78
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this->assertInstanceOf(FortySixElksChannel::class, $this->channel);
43 43
     }
44 44
 
45
-    public function testCanSendNotification(){
45
+    public function testCanSendNotification() {
46 46
 
47 47
 
48 48
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 {
69 69
 
70 70
 	public function __construct($message) {
71
-		$this->message =  $message;
71
+		$this->message = $message;
72 72
 	}
73 73
 
74 74
 	public function to46Elks($notifiable)
Please login to merge, or discard this patch.
tests/FortySixElksMediaTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
         //test subject
20 20
         $this->assertEquals(
21
-           'test subject',
22
-           $class->subject('test subject')
23
-               ->getSubject());
21
+            'test subject',
22
+            $class->subject('test subject')
23
+                ->getSubject());
24 24
     }
25 25
 
26 26
     public function testMMSTest()
Please login to merge, or discard this patch.