Passed
Push — develop ( 8213ee...1a2233 )
by nguereza
08:53 queued 05:23
created
src/Auth/Middleware/AuthorizationMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
  * @package Platine\Framework\Auth\Middleware
63 63
  * @template T
64 64
  */
65
-class AuthorizationMiddleware implements MiddlewareInterface
66
-{
65
+class AuthorizationMiddleware implements MiddlewareInterface {
67 66
     /**
68 67
      * The Authorization instance
69 68
      * @var AuthorizationInterface
Please login to merge, or discard this patch.
src/Auth/Event/AuthInvalidPasswordEvent.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 AuthInvalidPasswordEvent
55 55
  * @package Platine\Framework\Auth\Event
56 56
  */
57
-class AuthInvalidPasswordEvent extends Event
58
-{
57
+class AuthInvalidPasswordEvent extends Event {
59 58
     /**
60 59
      * The authentication user
61 60
      * @var User
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * @param User $user
68 67
      */
69
-    public function __construct(User $user)
70
-    {
68
+    public function __construct(User $user) {
71 69
         parent::__construct(__CLASS__, []);
72 70
         $this->user = $user;
73 71
     }
Please login to merge, or discard this patch.
src/Auth/IdentityInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class IdentityInterface
52 52
  * @package Platine\Framework\Auth
53 53
  */
54
-interface IdentityInterface
55
-{
54
+interface IdentityInterface {
56 55
     /**
57 56
      * Return the id of the current user
58 57
      * @return mixed
Please login to merge, or discard this patch.
src/Http/Middleware/RouteMatchMiddleware.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class RouteMatchMiddleware
61 61
  * @package Platine\Framework\Http\Middleware
62 62
  */
63
-class RouteMatchMiddleware implements MiddlewareInterface
64
-{
63
+class RouteMatchMiddleware implements MiddlewareInterface {
65 64
     /**
66 65
      * The Router instance
67 66
      * @var Router
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
      * @param Router $router
80 79
      * @param array<string>  $allowedMethods the default allowed methods
81 80
      */
82
-    public function __construct(Router $router, array $allowedMethods = ['HEAD'])
83
-    {
81
+    public function __construct(Router $router, array $allowedMethods = ['HEAD']) {
84 82
         $this->router = $router;
85 83
 
86 84
         foreach ($allowedMethods as $method) {
Please login to merge, or discard this patch.
src/Http/Middleware/RouteDispatcherMiddleware.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
  * @class RouteDispatcherMiddleware
60 60
  * @package Platine\Framework\Http\Middleware
61 61
  */
62
-class RouteDispatcherMiddleware implements MiddlewareInterface
63
-{
62
+class RouteDispatcherMiddleware implements MiddlewareInterface {
64 63
     /**
65 64
      * The Middleware resolver instance
66 65
      * @var MiddlewareResolverInterface
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
      * Create new instance
72 71
      * @param MiddlewareResolverInterface $resolver
73 72
      */
74
-    public function __construct(MiddlewareResolverInterface $resolver)
75
-    {
73
+    public function __construct(MiddlewareResolverInterface $resolver) {
76 74
         $this->resolver = $resolver;
77 75
     }
78 76
 
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
      * The template instance
61 60
      * @var Template
Please login to merge, or discard this patch.
src/Http/Response/RestResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,7 @@
 block discarded – undo
51 51
  * @class RestResponse
52 52
  * @package Platine\Framework\Http\Response
53 53
  */
54
-class RestResponse extends JsonResponse
55
-{
54
+class RestResponse extends JsonResponse {
56 55
     /**
57 56
      * Create new instance
58 57
      * @param mixed $data
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
      * Create new instance
61 60
      * @param mixed $data
Please login to merge, or discard this patch.
src/Http/Emitter/EmitterInterface.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 EmitterInterface
55 55
  * @package Platine\Framework\Http\Emitter
56 56
  */
57
-interface EmitterInterface
58
-{
57
+interface EmitterInterface {
59 58
     /**
60 59
      * Emits a HTTP response, that including status line, headers and message
61 60
      * body, according to the environment.
Please login to merge, or discard this patch.