Test Failed
Push — develop ( ebbd0c...8a31ce )
by nguereza
03:10
created
src/Auth/Exception/MissingCredentialsException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,6 +37,5 @@
 block discarded – undo
37 37
  * @class MissingCredentialsException
38 38
  * @package Platine\Framework\Auth\Exception
39 39
  */
40
-class MissingCredentialsException extends AuthenticationException
41
-{
40
+class MissingCredentialsException extends AuthenticationException {
42 41
 }
Please login to merge, or discard this patch.
src/Auth/Exception/AuthenticationException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class AuthenticationException
40 40
  * @package Platine\Framework\Auth\Exception
41 41
  */
42
-class AuthenticationException extends Exception
43
-{
42
+class AuthenticationException extends Exception {
44 43
 }
Please login to merge, or discard this patch.
src/Auth/Exception/AccountLockedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,6 +37,5 @@
 block discarded – undo
37 37
  * @class AccountLockedException
38 38
  * @package Platine\Framework\Auth\Exception
39 39
  */
40
-class AccountLockedException extends AuthenticationException
41
-{
40
+class AccountLockedException extends AuthenticationException {
42 41
 }
Please login to merge, or discard this patch.
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
     /**
58 57
      * Check if user is granted the given permission
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
     /**
58 57
      * Return the id of the current user
Please login to merge, or discard this patch.
src/Auth/Entity/User.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * class User
56 56
  * @package Platine\Framework\Auth\Entity
57 57
  */
58
-class User extends Entity implements IdentityInterface
59
-{
58
+class User extends Entity implements IdentityInterface {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
     /**
70 69
      * {@inheritdoc}
71 70
      */
72
-    public function getId()
73
-    {
71
+    public function getId() {
74 72
         return $this->mapper()->getColumn('id');
75 73
     }
76 74
 
Please login to merge, or discard this patch.
src/Auth/Entity/Permission.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 Permission
55 55
  * @package Platine\Framework\Auth\Entity
56 56
  */
57
-class Permission extends Entity
58
-{
57
+class Permission extends Entity {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Auth/Entity/Role.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 Role
55 55
  * @package Platine\Framework\Auth\Entity
56 56
  */
57
-class Role extends Entity
58
-{
57
+class Role extends Entity {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
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
     /**
61 60
      * The session instance to use
Please login to merge, or discard this patch.