@@ -124,13 +124,13 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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) { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | * @version v0.3.2 |
| 7 | 7 | */ |
| 8 | 8 | Route::get('/.well-known/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@show') |
| 9 | - ->name('security.txt'); |
|
| 9 | + ->name('security.txt'); |
|
| 10 | 10 | |
| 11 | 11 | Route::get('/security.txt', '\AustinHeap\Security\Txt\SecurityTxtController@redirect') |
| 12 | - ->name('security.txt-redirect'); |
|
| 12 | + ->name('security.txt-redirect'); |
|