Passed
Push — develop ( 2b24d9...82d74d )
by nguereza
03:14
created
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
     /**
63 62
      * Authenticate the user
Please login to merge, or discard this patch.
src/Auth/Repository/PermissionRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,13 @@
 block discarded – undo
55 55
  * @class PermissionRepository
56 56
  * @package Platine\Framework\Auth\Repository
57 57
  */
58
-class PermissionRepository extends Repository
59
-{
58
+class PermissionRepository extends Repository {
60 59
 
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, Permission::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.
src/Auth/Repository/UserRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,13 @@
 block discarded – undo
55 55
  * @class UserRepository
56 56
  * @package Platine\Framework\Auth\Repository
57 57
  */
58
-class UserRepository extends Repository
59
-{
58
+class UserRepository extends Repository {
60 59
 
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, User::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.
src/Auth/Repository/RoleRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,13 @@
 block discarded – undo
55 55
  * @class RoleRepository
56 56
  * @package Platine\Framework\Auth\Repository
57 57
  */
58
-class RoleRepository extends Repository
59
-{
58
+class RoleRepository extends Repository {
60 59
 
61 60
     /**
62 61
      * Create new instance
63 62
      * @param EntityManager $manager
64 63
      */
65
-    public function __construct(EntityManager $manager)
66
-    {
64
+    public function __construct(EntityManager $manager) {
67 65
         parent::__construct($manager, Role::class);
68 66
     }
69 67
 }
Please login to merge, or discard this patch.
src/Auth/Entity/User.php 2 patches
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}
@@ -97,8 +96,7 @@  discard block
 block discarded – undo
97 96
     /**
98 97
      * {@inheritdoc}
99 98
      */
100
-    public function getId()
101
-    {
99
+    public function getId() {
102 100
         return $this->mapper()->getColumn('id');
103 101
     }
104 102
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
             'updated_at' => '?date',
72 72
         ]);
73 73
 
74
-        $mapper->filter('status', function (Query $q, $status) {
74
+        $mapper->filter('status', function(Query $q, $status) {
75 75
             $q->where('status')->is($status);
76 76
         });
77 77
     }
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/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/Template/Tag/SessionTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
     protected string $name;
27 27
 
28 28
     /**
29
-    * {@inheritdoc}
30
-    */
29
+     * {@inheritdoc}
30
+     */
31 31
     public function __construct(string $markup, &$tokens, Parser $parser)
32 32
     {
33 33
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
Please login to merge, or discard this 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 SessionTag
60 60
  * @package Platine\Framework\Template\Tag
61 61
  */
62
-class SessionTag extends AbstractTag
63
-{
62
+class SessionTag extends AbstractTag {
64 63
 
65 64
     /**
66 65
      * The key of the session
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
     /**
72 71
     * {@inheritdoc}
73 72
     */
74
-    public function __construct(string $markup, &$tokens, Parser $parser)
75
-    {
73
+    public function __construct(string $markup, &$tokens, Parser $parser) {
76 74
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
77 75
         if ($lexer->match($markup)) {
78 76
             $this->name = $lexer->getStringMatch(0);
Please login to merge, or discard this patch.