Passed
Push — develop ( 3f3e75...907aec )
by nguereza
03:12
created
src/Service/Provider/OAuth2ServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,8 +94,7 @@
 block discarded – undo
94 94
  * @class OAuth2ServiceProvider
95 95
  * @package Platine\App\Provider
96 96
  */
97
-class OAuth2ServiceProvider extends ServiceProvider
98
-{
97
+class OAuth2ServiceProvider extends ServiceProvider {
99 98
     /**
100 99
      * {@inheritdoc}
101 100
      */
Please login to merge, or discard this patch.
src/OAuth2/User/TokenOwner.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * @class TokenOwner
54 54
  * @package Platine\Framework\OAuth2\User
55 55
  */
56
-class TokenOwner implements TokenOwnerInterface
57
-{
56
+class TokenOwner implements TokenOwnerInterface {
58 57
     /**
59 58
      * The owner id
60 59
      * @var mixed
@@ -65,16 +64,14 @@  discard block
 block discarded – undo
65 64
      * Create new instance
66 65
      * @param mixed|null $id
67 66
      */
68
-    public function __construct($id = null)
69
-    {
67
+    public function __construct($id = null) {
70 68
         $this->id = $id;
71 69
     }
72 70
 
73 71
     /**
74 72
      * {@inheritdoc}
75 73
      */
76
-    public function getOwnerId()
77
-    {
74
+    public function getOwnerId() {
78 75
         return 1;
79 76
     }
80 77
 }
Please login to merge, or discard this patch.
src/OAuth2/User/UserAuthentication.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 UserAuthentication
55 55
  * @package Platine\Framework\OAuth2\User
56 56
  */
57
-class UserAuthentication implements UserAuthenticationInterface
58
-{
57
+class UserAuthentication implements UserAuthenticationInterface {
59 58
     /**
60 59
      * {@inheritdoc}
61 60
      */
Please login to merge, or discard this patch.
src/OAuth2/Repository/AuthorizationCodeRepository.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 AuthorizationCodeRepository
61 61
  * @package Platine\Framework\OAuth2\Repository
62 62
  */
63
-class AuthorizationCodeRepository extends Repository implements AuthorizationCodeRepositoryInterface
64
-{
63
+class AuthorizationCodeRepository extends Repository implements AuthorizationCodeRepositoryInterface {
65 64
     /**
66 65
      * The Client Service
67 66
      * @var ClientService
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * @param EntityManager $manager
74 73
      * @param ClientService $clientService
75 74
      */
76
-    public function __construct(EntityManager $manager, ClientService $clientService)
77
-    {
75
+    public function __construct(EntityManager $manager, ClientService $clientService) {
78 76
         parent::__construct($manager, OauthAuthorizationCode::class);
79 77
         $this->clientService = $clientService;
80 78
     }
Please login to merge, or discard this patch.
src/OAuth2/Repository/ClientRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,14 +57,12 @@
 block discarded – undo
57 57
  * @class ClientRepository
58 58
  * @package Platine\Framework\OAuth2\Repository
59 59
  */
60
-class ClientRepository extends Repository implements ClientRepositoryInterface
61
-{
60
+class ClientRepository extends Repository implements ClientRepositoryInterface {
62 61
     /**
63 62
      * Create new instance
64 63
      * @param EntityManager $manager
65 64
      */
66
-    public function __construct(EntityManager $manager)
67
-    {
65
+    public function __construct(EntityManager $manager) {
68 66
         parent::__construct($manager, OauthClient::class);
69 67
     }
70 68
 
Please login to merge, or discard this patch.
src/OAuth2/Repository/ScopeRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,14 +57,12 @@
 block discarded – undo
57 57
  * @class ScopeRepository
58 58
  * @package Platine\Framework\OAuth2\Repository
59 59
  */
60
-class ScopeRepository extends Repository implements ScopeRepositoryInterface
61
-{
60
+class ScopeRepository extends Repository implements ScopeRepositoryInterface {
62 61
     /**
63 62
      * Create new instance
64 63
      * @param EntityManager $manager
65 64
      */
66
-    public function __construct(EntityManager $manager)
67
-    {
65
+    public function __construct(EntityManager $manager) {
68 66
         parent::__construct($manager, OauthScope::class);
69 67
     }
70 68
 
Please login to merge, or discard this patch.
src/OAuth2/Repository/RefreshTokenRepository.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 RefreshTokenRepository
61 61
  * @package Platine\Framework\OAuth2\Repository
62 62
  */
63
-class RefreshTokenRepository extends Repository implements RefreshTokenRepositoryInterface
64
-{
63
+class RefreshTokenRepository extends Repository implements RefreshTokenRepositoryInterface {
65 64
     /**
66 65
      * The Client Service
67 66
      * @var ClientService
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * @param EntityManager $manager
74 73
      * @param ClientService $clientService
75 74
      */
76
-    public function __construct(EntityManager $manager, ClientService $clientService)
77
-    {
75
+    public function __construct(EntityManager $manager, ClientService $clientService) {
78 76
         parent::__construct($manager, OauthRefreshToken::class);
79 77
         $this->clientService = $clientService;
80 78
     }
Please login to merge, or discard this patch.
src/OAuth2/Repository/AccessTokenRepository.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 AccessTokenRepository
61 61
  * @package Platine\Framework\OAuth2\Repository
62 62
  */
63
-class AccessTokenRepository extends Repository implements AccessTokenRepositoryInterface
64
-{
63
+class AccessTokenRepository extends Repository implements AccessTokenRepositoryInterface {
65 64
     /**
66 65
      * The Client Service
67 66
      * @var ClientService
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
      * @param EntityManager $manager
74 73
      * @param ClientService $clientService
75 74
      */
76
-    public function __construct(EntityManager $manager, ClientService $clientService)
77
-    {
75
+    public function __construct(EntityManager $manager, ClientService $clientService) {
78 76
         parent::__construct($manager, OauthAccessToken::class);
79 77
         $this->clientService = $clientService;
80 78
     }
Please login to merge, or discard this patch.
src/OAuth2/Entity/OauthAuthorizationCode.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,7 @@
 block discarded – undo
11 11
 * @class OauthAuthorizationCode
12 12
 * @package Platine\Framework\OAuth2\Entity
13 13
 */
14
-class OauthAuthorizationCode extends Entity
15
-{
14
+class OauthAuthorizationCode extends Entity {
16 15
     /**
17 16
     * {@inheritdoc}
18 17
     */
Please login to merge, or discard this patch.