Passed
Branch master (32ad63)
by Bohuslav
02:06
created
src/Dispatcher.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
     /**
32 32
      * Sets not found handler
33 33
      *
34
-     * @param ParsedRoute $route Instance of found parsed route
35 34
      *
36 35
      * @return self for fluent interface
37 36
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router;
5 5
 
Please login to merge, or discard this patch.
src/Dispatcher/ClassAutoBind.php 2 patches
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -232,7 +232,6 @@  discard block
 block discarded – undo
232 232
      * @param mixed $parameters route parameters
233 233
      * @param mixed $handler    handler that should be executed
234 234
      * @param mixed $matches    found matched variables
235
-
236 235
      * @return mixed
237 236
      */
238 237
     private function resolveNamespace($parameters, $handler, $matches)
@@ -288,7 +287,6 @@  discard block
 block discarded – undo
288 287
      * @param mixed $matches    found matched variables
289 288
      * @param mixed $parameters route parameters
290 289
      * @param mixed $handlers   handler that should be executed
291
-
292 290
      * @return mixed
293 291
      */
294 292
     private function getFunctionArgumentsControlers(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Dispatcher;
5 5
 
Please login to merge, or discard this patch.
src/Matcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router;
5 5
 
Please login to merge, or discard this patch.
src/Matcher/Regex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Matcher;
5 5
 
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      */
283 283
     private function transformRouteVariables(string $route, array $variables) : string
284 284
     {
285
-        list($valueToReplace, , $parametersVariables) = array_pad(
285
+        list($valueToReplace,, $parametersVariables) = array_pad(
286 286
             $variables,
287 287
             3,
288 288
             null
Please login to merge, or discard this patch.
src/Route/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Route;
5 5
 
Please login to merge, or discard this patch.
src/Route/Builder/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Route\Builder;
5 5
 
Please login to merge, or discard this patch.
src/Route/Route/Parsed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Route\Route;
5 5
 
Please login to merge, or discard this patch.
src/Dispatcher/ClosureAutoBind.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Dispatcher;
5 5
 
Please login to merge, or discard this patch.
src/Route/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Kambo\Router\Route;
5 5
 
Please login to merge, or discard this patch.