Test Failed
Push — develop ( df8064...70abbc )
by nguereza
03:01
created
src/Auth/AuthorizationInterface.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 AuthorizationInterface
52 52
  * @package Platine\Framework\Auth
53 53
  */
54
-interface AuthorizationInterface
55
-{
54
+interface AuthorizationInterface {
56 55
     /**
57 56
      * Check if user is granted the given permission
58 57
      * @param string $permission the permission to check
Please login to merge, or discard this patch.
src/Auth/AuthenticationInterface.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 AuthenticationInterface
57 57
  * @package Platine\Framework\Auth
58 58
  */
59
-interface AuthenticationInterface
60
-{
59
+interface AuthenticationInterface {
61 60
     /**
62 61
      * Authenticate the user
63 62
      * @param array<string, mixed> $credentials
Please login to merge, or discard this patch.
src/Auth/Authentication/JWTAuthentication.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@
 block discarded – undo
69 69
  * @package Platine\Framework\Auth\Authentication
70 70
  * @template T
71 71
  */
72
-class JWTAuthentication implements ApiAuthenticationInterface
73
-{
72
+class JWTAuthentication implements ApiAuthenticationInterface {
74 73
     /**
75 74
      * The JWT instance
76 75
      * @var JWT
Please login to merge, or discard this patch.
src/Auth/Authentication/SessionAuthentication.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
  * class SessionAuthentication
64 64
  * @package Platine\Framework\Auth\Authentication
65 65
  */
66
-class SessionAuthentication implements AuthenticationInterface
67
-{
66
+class SessionAuthentication implements AuthenticationInterface {
68 67
     /**
69 68
      * The session instance to use
70 69
      * @var Session
Please login to merge, or discard this patch.
src/Auth/Authorization/SessionAuthorization.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 SessionAuthorization
55 55
  * @package Platine\Framework\Auth\Authorization
56 56
  */
57
-class SessionAuthorization implements AuthorizationInterface
58
-{
57
+class SessionAuthorization implements AuthorizationInterface {
59 58
     /**
60 59
      * The session instance to use
61 60
      * @var Session
Please login to merge, or discard this patch.
src/Auth/ApiAuthenticationInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class ApiAuthenticationInterface
58 58
  * @package Platine\Framework\Auth
59 59
  */
60
-interface ApiAuthenticationInterface
61
-{
60
+interface ApiAuthenticationInterface {
62 61
     /**
63 62
      * Whether the request is authenticated
64 63
      * @param ServerRequestInterface $request
Please login to merge, or discard this patch.
src/App/Application.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@  discard block
 block discarded – undo
65 65
  * @class Application
66 66
  * @package Platine\Framework\App
67 67
  */
68
-class Application extends Container
69
-{
68
+class Application extends Container {
70 69
     /**
71 70
      * The application version
72 71
      */
@@ -148,8 +147,7 @@  discard block
 block discarded – undo
148 147
      * Create new instance
149 148
      * @param string $basePath
150 149
      */
151
-    public function __construct(string $basePath = '')
152
-    {
150
+    public function __construct(string $basePath = '') {
153 151
         parent::__construct();
154 152
 
155 153
         $this->basePath = $basePath;
@@ -244,8 +242,7 @@  discard block
 block discarded – undo
244 242
      * @param string $env
245 243
      * @return $this
246 244
      */
247
-    public function setEnvironment(string $env)
248
-    {
245
+    public function setEnvironment(string $env) {
249 246
         $this->env = $env;
250 247
 
251 248
         return $this;
Please login to merge, or discard this patch.
src/Audit/Auditor.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
  * @class Auditor
60 60
  * @package Platine\Framework\Audit
61 61
  */
62
-class Auditor
63
-{
62
+class Auditor {
64 63
     /**
65 64
      * The audit repository
66 65
      * @var AuditRepository
Please login to merge, or discard this patch.
src/Audit/Enum/EventType.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 EventType
52 52
  * @package Platine\Framework\Audit\Enum
53 53
  */
54
-class EventType
55
-{
54
+class EventType {
56 55
     public const AUTH = 'auth';
57 56
     public const PASSWORD_RESET = 'password_reset';
58 57
     public const CREATE = 'create';
Please login to merge, or discard this patch.