Passed
Push — master ( a95b22...baf23d )
by Antonio Carlos
06:21
created
src/Notifications/Channels/Slack.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,21 +51,21 @@
 block discarded – undo
51 51
             })
52 52
             ->attachment(function ($attachment) use ($item) {
53 53
                 $attachment->title($title = config('firewall.notifications.message.uri.title'))
54
-                           ->content($item['server']['REQUEST_URI']);
54
+                            ->content($item['server']['REQUEST_URI']);
55 55
             })
56 56
             ->attachment(function ($attachment) use ($item) {
57 57
                 $attachment->title(config('firewall.notifications.message.user_agent.title'))
58
-                           ->content($item['userAgent']);
58
+                            ->content($item['userAgent']);
59 59
             })
60 60
             ->attachment(function ($attachment) use ($item) {
61 61
                 $attachment->title(config('firewall.notifications.message.blacklisted.title'))
62
-                           ->content($item['isBlacklisted'] ? 'YES' : 'NO');
62
+                            ->content($item['isBlacklisted'] ? 'YES' : 'NO');
63 63
             });
64 64
 
65 65
         if ($item['geoIp']) {
66 66
             $message->attachment(function ($attachment) use ($item) {
67 67
                 $attachment->title(config('firewall.notifications.message.geolocation.title'))
68
-                           ->fields($this->getGeolocation($item));
68
+                            ->fields($this->getGeolocation($item));
69 69
             });
70 70
         }
71 71
 
Please login to merge, or discard this patch.
src/Repositories/Firewall/Firewall.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,11 +116,11 @@
 block discarded – undo
116 116
         $class = new ReflectionClass(get_class($this->model));
117 117
 
118 118
         $model = $class->newInstanceArgs([
119
-                                             [
120
-                                                 'ip_address'  => $ip,
121
-                                                 'whitelisted' => $whitelist,
122
-                                             ],
123
-                                         ]);
119
+                                                [
120
+                                                    'ip_address'  => $ip,
121
+                                                    'whitelisted' => $whitelist,
122
+                                                ],
123
+                                            ]);
124 124
 
125 125
         return $model;
126 126
     }
Please login to merge, or discard this patch.
src/migrations/2014_02_01_311070_create_firewall_table.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -6,13 +6,13 @@  discard block
 block discarded – undo
6 6
 
7 7
 class CreateFirewallTable extends Migration {
8 8
 
9
-	/**
10
-	 * Run the migration.
11
-	 *
12
-	 * @return void
13
-	 */
14
-	public function up()
15
-	{
9
+    /**
10
+     * Run the migration.
11
+     *
12
+     * @return void
13
+     */
14
+    public function up()
15
+    {
16 16
         Schema::create('firewall', function (Blueprint $table) {
17 17
             $table->increments('id');
18 18
 
@@ -22,16 +22,16 @@  discard block
 block discarded – undo
22 22
 
23 23
             $table->timestamps();
24 24
         });
25
-	}
26
-
27
-	/**
28
-	 * Reverse the migration.
29
-	 *
30
-	 * @return void
31
-	 */
32
-	public function down()
33
-	{
25
+    }
26
+
27
+    /**
28
+     * Reverse the migration.
29
+     *
30
+     * @return void
31
+     */
32
+    public function down()
33
+    {
34 34
         Schema::dropIfExists('firewall');
35
-	}
35
+    }
36 36
 
37 37
 }
Please login to merge, or discard this patch.