Test Failed
Push — develop ( 41fb7d...afcd85 )
by nguereza
03:02 queued 18s
created
src/Service/ServiceProvider.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServiceProvider
55 55
  * @package Platine\Framework\Service
56 56
  */
57
-class ServiceProvider
58
-{
57
+class ServiceProvider {
59 58
 
60 59
     /**
61 60
      * The Application instance
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * Create new instance
74 73
      * @param Application $app
75 74
      */
76
-    public function __construct(Application $app)
77
-    {
75
+    public function __construct(Application $app) {
78 76
         $this->app = $app;
79 77
     }
80 78
 
Please login to merge, or discard this patch.
src/Handler/Error/ErrorRenderInterface.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 ErrorRenderInterface
55 55
  * @package Platine\Framework\Handler\Error
56 56
  */
57
-interface ErrorRenderInterface
58
-{
57
+interface ErrorRenderInterface {
59 58
 
60 59
     /**
61 60
      * Render the error
Please login to merge, or discard this patch.
src/Handler/Error/Renderer/HtmlErrorRenderer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class HtmlErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-class HtmlErrorRenderer extends AbstractErrorRenderer
59
-{
58
+class HtmlErrorRenderer extends AbstractErrorRenderer {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Handler/Error/Renderer/JsonErrorRenderer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class JsonErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-class JsonErrorRenderer extends AbstractErrorRenderer
59
-{
58
+class JsonErrorRenderer extends AbstractErrorRenderer {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Handler/Error/Renderer/AbstractErrorRenderer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class AbstractErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-abstract class AbstractErrorRenderer implements ErrorRenderInterface
59
-{
58
+abstract class AbstractErrorRenderer implements ErrorRenderInterface {
60 59
 
61 60
     /**
62 61
      * The default error title
Please login to merge, or discard this patch.
src/Handler/Error/ErrorHandlerInterface.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 ErrorHandlerInterface
57 57
  * @package Platine\Framework\Handler\Error
58 58
  */
59
-interface ErrorHandlerInterface
60
-{
59
+interface ErrorHandlerInterface {
61 60
 
62 61
     /**
63 62
      * Handle error and generate the response
Please login to merge, or discard this patch.
src/Handler/Error/ErrorHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @class ErrorHandler
62 62
  * @package Platine\Framework\Handler\Error
63 63
  */
64
-class ErrorHandler implements ErrorHandlerInterface
65
-{
64
+class ErrorHandler implements ErrorHandlerInterface {
66 65
 
67 66
     /**
68 67
      * The content type
@@ -122,8 +121,7 @@  discard block
 block discarded – undo
122 121
      * Create new instance
123 122
      * @param LoggerInterface $logger
124 123
      */
125
-    public function __construct(LoggerInterface $logger)
126
-    {
124
+    public function __construct(LoggerInterface $logger) {
127 125
         $this->logger = $logger;
128 126
 
129 127
         //Add default renderer
Please login to merge, or discard this patch.
src/Demo/Action/User/DetailAction.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
  * @package Platine\Framework\Demo\Action\User
64 64
  * @template T
65 65
  */
66
-class DetailAction implements RequestHandlerInterface
67
-{
66
+class DetailAction implements RequestHandlerInterface {
68 67
 
69 68
     /**
70 69
      * The logger instance
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -135,8 +135,8 @@
 block discarded – undo
135 135
     {
136 136
         $id = (int) $request->getAttribute('id');
137 137
         $user = $this->userRepository
138
-                     ->with('roles')
139
-                     ->find($id);
138
+                        ->with('roles')
139
+                        ->find($id);
140 140
         if (!$user) {
141 141
             $this->session->setFlash('error', $this->lang->tr('Can not find the user'));
142 142
             $this->logger->warning('Can not find user with id {id}', ['id' => $id]);
Please login to merge, or discard this patch.
src/Demo/Action/User/ListAction.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @package Platine\Framework\Demo\Action\User
60 60
  * @template T
61 61
  */
62
-class ListAction implements RequestHandlerInterface
63
-{
62
+class ListAction implements RequestHandlerInterface {
64 63
     /**
65 64
      * The user repository
66 65
      * @var UserRepository
Please login to merge, or discard this patch.