Test Failed
Push — develop ( 149858...5cd5e7 )
by nguereza
03:42
created
src/Http/Middleware/CorsMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * @package Platine\Framework\Http\Middleware
62 62
  * @template T
63 63
  */
64
-class CorsMiddleware implements MiddlewareInterface
65
-{
64
+class CorsMiddleware implements MiddlewareInterface {
66 65
 
67 66
     /**
68 67
      * The configuration instance
Please login to merge, or discard this patch.
src/Http/Response/JsonResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class JsonResponse
55 55
  * @package Platine\Framework\Http\Response
56 56
  */
57
-class JsonResponse extends Response
58
-{
57
+class JsonResponse extends Response {
59 58
 
60 59
     /**
61 60
      * Create new instance
Please login to merge, or discard this patch.
src/Http/Response/TemplateResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * @class TemplateResponse
55 55
  * @package Platine\Framework\Http\Response
56 56
  */
57
-class TemplateResponse extends Response
58
-{
57
+class TemplateResponse extends Response {
59 58
 
60 59
     /**
61 60
      * The template instance
Please login to merge, or discard this patch.
src/Demo/Action/JsonAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class JsonAction
57 57
  * @package Platine\Framework\Demo\Action
58 58
  */
59
-class JsonAction implements RequestHandlerInterface
60
-{
59
+class JsonAction implements RequestHandlerInterface {
61 60
 
62 61
     /**
63 62
      * {@inheritodc}
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 use Platine\Framework\Demo\Action\JsonAction;
6 6
 use Platine\Route\Router;
7 7
 
8
-return [static function (Router $router): void {
8
+return [static function(Router $router): void {
9 9
     $router->get('/', HomeAction::class, 'home');
10 10
     $router->get('/download', DownloadAction::class, 'download');
11
-    $router->group('/api', function (Router $router) {
11
+    $router->group('/api', function(Router $router) {
12 12
         $router->post('/json', JsonAction::class, 'api_json');
13 13
     });
14 14
 }];
Please login to merge, or discard this patch.