Completed
Branch 09branch (1772ab)
by Anton
02:55
created
source/Spiral/Validation/Checkers/AddressChecker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         if (!$requireScheme && stripos($url, '://') === false) {
54 54
             //Forcing scheme (not super great idea)
55
-            $url = 'http://' . $url;
55
+            $url = 'http://'.$url;
56 56
         }
57 57
 
58 58
         if ((bool)filter_var($url, FILTER_VALIDATE_URL)) {
Please login to merge, or discard this patch.
source/views/exceptions/light/slow.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
  * @param array $arguments
14 14
  * @return array
15 15
  */
16
-$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) {
16
+$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) {
17 17
     $result = [];
18 18
     foreach ($arguments as $argument) {
19 19
         $display = $type = strtolower(gettype($argument));
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
         <span style="float: right; opacity: 0.7;">SLOW MODE</span>
274 274
     </div>
275 275
 
276
-   <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
276
+   <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
277 277
        <div class="query"><?= $exception->getQuery() ?></div>
278 278
    <?php } ?>
279 279
 
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
                     $arguments = $argumenter($trace['args']);
300 300
                 }
301 301
 
302
-                $function = '<strong>' . $trace['function'] . '</strong>';
302
+                $function = '<strong>'.$trace['function'].'</strong>';
303 303
                 if (isset($trace['type']) && isset($trace['class'])) {
304 304
                     $reflection = new ReflectionClass($trace['class']);
305 305
                     $function = Spiral\interpolate(
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
                         continue;
366 366
                     }
367 367
 
368
-                    $function = '<strong>' . $trace['function'] . '</strong>';
368
+                    $function = '<strong>'.$trace['function'].'</strong>';
369 369
                     if (isset($trace['type']) && isset($trace['class'])) {
370 370
                         $reflection = new ReflectionClass($trace['class']);
371 371
                         $function = Spiral\interpolate(
Please login to merge, or discard this patch.
source/views/exceptions/dark/slow.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  *
15 15
  * @return array
16 16
  */
17
-$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) {
17
+$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) {
18 18
     $result = [];
19 19
     foreach ($arguments as $argument) {
20 20
         $display = $type = strtolower(gettype($argument));
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         <span style="float: right; opacity: 0.7;">SLOW MODE</span>
280 280
     </div>
281 281
 
282
-    <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
282
+    <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
283 283
         <div class="query"><?= $exception->getQuery() ?></div>
284 284
     <?php } ?>
285 285
 
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                     $arguments = $argumenter($trace['args']);
306 306
                 }
307 307
 
308
-                $function = '<strong>' . $trace['function'] . '</strong>';
308
+                $function = '<strong>'.$trace['function'].'</strong>';
309 309
                 if (isset($trace['type']) && isset($trace['class'])) {
310 310
                     $reflection = new ReflectionClass($trace['class']);
311 311
                     $function = \Spiral\interpolate(
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
                         continue;
374 374
                     }
375 375
 
376
-                    $function = '<strong>' . $trace['function'] . '</strong>';
376
+                    $function = '<strong>'.$trace['function'].'</strong>';
377 377
                     if (isset($trace['type']) && isset($trace['class'])) {
378 378
                         $reflection = new ReflectionClass($trace['class']);
379 379
                         $function = \Spiral\interpolate(
Please login to merge, or discard this patch.
source/views/exceptions/light/fast.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  *
15 15
  * @return array
16 16
  */
17
-$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) {
17
+$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) {
18 18
     $result = [];
19 19
     foreach ($arguments as $argument) {
20 20
         $display = $type = strtolower(gettype($argument));
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         <span style="float: right; opacity: 0.7;">SLOW MODE</span>
280 280
     </div>
281 281
 
282
-    <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
282
+    <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
283 283
         <div class="query"><?= $exception->getQuery() ?></div>
284 284
     <?php } ?>
285 285
 
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                     $arguments = $argumenter($trace['args']);
306 306
                 }
307 307
 
308
-                $function = '<strong>' . $trace['function'] . '</strong>';
308
+                $function = '<strong>'.$trace['function'].'</strong>';
309 309
                 if (isset($trace['type']) && isset($trace['class'])) {
310 310
                     $reflection = new ReflectionClass($trace['class']);
311 311
                     $function = \Spiral\interpolate(
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
                         continue;
374 374
                     }
375 375
 
376
-                    $function = '<strong>' . $trace['function'] . '</strong>';
376
+                    $function = '<strong>'.$trace['function'].'</strong>';
377 377
                     if (isset($trace['type']) && isset($trace['class'])) {
378 378
                         $reflection = new ReflectionClass($trace['class']);
379 379
                         $function = \Spiral\interpolate(
Please login to merge, or discard this patch.
source/views/exceptions/dark/fast.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
  *
15 15
  * @return array
16 16
  */
17
-$argumenter = function (array $arguments) use ($dumper, $styler, &$dumps) {
17
+$argumenter = function(array $arguments) use ($dumper, $styler, &$dumps) {
18 18
     $result = [];
19 19
     foreach ($arguments as $argument) {
20 20
         $display = $type = strtolower(gettype($argument));
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
         <span style="float: right; opacity: 0.7;">SLOW MODE</span>
280 280
     </div>
281 281
 
282
-    <?php if($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
282
+    <?php if ($exception instanceof \Spiral\Database\Exceptions\QueryExceptionInterface) {?>
283 283
         <div class="query"><?= $exception->getQuery() ?></div>
284 284
     <?php } ?>
285 285
 
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                     $arguments = $argumenter($trace['args']);
306 306
                 }
307 307
 
308
-                $function = '<strong>' . $trace['function'] . '</strong>';
308
+                $function = '<strong>'.$trace['function'].'</strong>';
309 309
                 if (isset($trace['type']) && isset($trace['class'])) {
310 310
                     $reflection = new ReflectionClass($trace['class']);
311 311
                     $function = \Spiral\interpolate(
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
                         continue;
374 374
                     }
375 375
 
376
-                    $function = '<strong>' . $trace['function'] . '</strong>';
376
+                    $function = '<strong>'.$trace['function'].'</strong>';
377 377
                     if (isset($trace['type']) && isset($trace['class'])) {
378 378
                         $reflection = new ReflectionClass($trace['class']);
379 379
                         $function = \Spiral\interpolate(
Please login to merge, or discard this patch.