@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\RouterInterface; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\Tests\Base\DynamicRoutesTestClass; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\Router; |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\Router; |
@@ -30,10 +30,10 @@ discard block |
||
| 30 | 30 | public function testValidRouteParameter(): void |
| 31 | 31 | { |
| 32 | 32 | $router = new Router(); |
| 33 | - $router->addRoute('/catalog/all/', function (string $route): string { |
|
| 33 | + $router->addRoute('/catalog/all/', function(string $route): string { |
|
| 34 | 34 | return $route; |
| 35 | 35 | }); |
| 36 | - $router->addRoute('/catalog/[i:cat_id]', function (string $route): string { |
|
| 36 | + $router->addRoute('/catalog/[i:cat_id]', function(string $route): string { |
|
| 37 | 37 | return $route; |
| 38 | 38 | }); |
| 39 | 39 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use PHPUnit\Framework\TestCase; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\Tests\Base\StaticRoutesTestClass; |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Standart; |
| 4 | 4 | |
| 5 | 5 | use PHPUnit\Framework\TestCase; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | // setup |
| 51 | 51 | RouterUnitTestUtils::setRequestMethod('GET'); |
| 52 | 52 | $router = new Router(); |
| 53 | - $router->addRoute($route, function () { |
|
| 53 | + $router->addRoute($route, function() { |
|
| 54 | 54 | return 'route result'; |
| 55 | 55 | }); |
| 56 | 56 | |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | { |
| 73 | 73 | // setup |
| 74 | 74 | $router = new Router(); |
| 75 | - $router->addRoute('existing-route', function () { |
|
| 75 | + $router->addRoute('existing-route', function() { |
|
| 76 | 76 | return 'existing route result'; |
| 77 | 77 | }); |
| 78 | 78 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests; |
| 4 | 4 | |
| 5 | 5 | use Mezon\Router\Router; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace Mezon\Router\Tests\Base; |
| 4 | 4 | |
| 5 | 5 | use PHPUnit\Framework\TestCase; |