Passed
Push — master ( 48d02b...1e0cee )
by Austin
03:14
created
src/SecurityTxtHelper.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -124,13 +124,13 @@  discard block
 block discarded – undo
124 124
 
125 125
             if (!function_exists($mapping['validator'])) {
126 126
                 $this->addLogEntry('"' . __CLASS__ . '" cannot find "validator" function named "' . $mapping['validator'] . '".',
127
-                                   'warning');
127
+                                    'warning');
128 128
                 continue;
129 129
             }
130 130
 
131 131
             if (!$mapping['validator'](config($key))) {
132 132
                 $this->addLogEntry('"' . __CLASS__ . '" failed the "validator" function named "' . $mapping['validator'] . '".',
133
-                                   'warning');
133
+                                    'warning');
134 134
                 continue;
135 135
             }
136 136
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
                 $mapping['self'] === true) {
140 140
                 if (!method_exists($this, $mapping['setter'])) {
141 141
                     $this->addLogEntry('"' . __CLASS__ . '" cannot find mapping "setter" method on object "' . get_class($this) . '" named "' . $mapping['setter'] . '".',
142
-                                       'error');
142
+                                        'error');
143 143
                     continue;
144 144
                 }
145 145
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             } else {
148 148
                 if (!method_exists($this->writer, $mapping['setter'])) {
149 149
                     $this->addLogEntry('"' . __CLASS__ . '" cannot find mapping "setter" method on object "' . get_class($this->writer) . '" named "' . $mapping['setter'] . '".',
150
-                                       'error');
150
+                                        'error');
151 151
                     continue;
152 152
                 }
153 153
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 
219 219
         if ($this->writer->getDebug()) {
220 220
             $text .= '# Cache is ' . ($this->cache ? 'enabled with key "' . $this->cacheKey . '"' : 'disabled') . '.' . PHP_EOL .
221
-                     '#' . PHP_EOL;
221
+                        '#' . PHP_EOL;
222 222
         }
223 223
 
224 224
         if ($this->cache) {
Please login to merge, or discard this patch.
src/routes/security-txt.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 
10 10
 Route::get('/.well-known/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@show')
11
-     ->name('security.txt');
11
+        ->name('security.txt');
12 12
 
13 13
 Route::get('/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@redirect')
14
-     ->name('security.txt-redirect');
14
+        ->name('security.txt-redirect');
Please login to merge, or discard this patch.