Passed
Push — develop ( 20f62f...e667b3 )
by nguereza
02:00
created
platine/migrations/20230802_144938_add_oauth2_scopes_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddOauth2ScopesTable20230802144938 extends AbstractMigration
11
-{
10
+class AddOauth2ScopesTable20230802144938 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
Please login to merge, or discard this patch.
platine/migrations/20230802_152020_add_oauth2_refresh_tokens_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddOauth2RefreshTokensTable20230802152020 extends AbstractMigration
11
-{
10
+class AddOauth2RefreshTokensTable20230802152020 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
Please login to merge, or discard this patch.
platine/migrations/20230802_151233_add_oauth2_access_tokens_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddOauth2AccessTokensTable20230802151233 extends AbstractMigration
11
-{
10
+class AddOauth2AccessTokensTable20230802151233 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
Please login to merge, or discard this patch.
platine/migrations/20230802_150106_add_oauth2_clients_table.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use Platine\Database\Schema\CreateTable;
8 8
 use Platine\Framework\Migration\AbstractMigration;
9 9
 
10
-class AddOauth2ClientsTable20230802150106 extends AbstractMigration
11
-{
10
+class AddOauth2ClientsTable20230802150106 extends AbstractMigration {
12 11
     public function up(): void
13 12
     {
14 13
       //Action when migrate up
Please login to merge, or discard this patch.
src/Response/OAuthRedirectResponse.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,14 +38,12 @@
 block discarded – undo
38 38
  * @class OAuthRedirectResponse
39 39
  * @package Platine\OAuth2\Response
40 40
  */
41
-class OAuthRedirectResponse extends Response
42
-{
41
+class OAuthRedirectResponse extends Response {
43 42
     /**
44 43
      * Create new instance
45 44
      * @param string $uri
46 45
      */
47
-    public function __construct(string $uri = '/')
48
-    {
46
+    public function __construct(string $uri = '/') {
49 47
         parent::__construct(302);
50 48
         $this->headers['location'] = [$uri];
51 49
     }
Please login to merge, or discard this patch.
src/Response/OAuthJsonResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class OAuthJsonResponse
40 40
  * @package Platine\OAuth2\Response
41 41
  */
42
-class OAuthJsonResponse extends Response
43
-{
42
+class OAuthJsonResponse extends Response {
44 43
     /**
45 44
      * Create new instance
46 45
      * @param mixed $data
Please login to merge, or discard this patch.
src/AuthorizationServer.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@
 block discarded – undo
52 52
  * @class AuthorizationServer
53 53
  * @package Platine\OAuth2
54 54
  */
55
-class AuthorizationServer implements AuthorizationServerInterface
56
-{
55
+class AuthorizationServer implements AuthorizationServerInterface {
57 56
     /**
58 57
      * The grant list
59 58
      * @var array<string, GrantInterface>
Please login to merge, or discard this patch.
src/Middleware/RevocationRequestMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
  * @class RevocationRequestMiddleware
43 43
  * @package Platine\OAuth2\Middleware
44 44
  */
45
-class RevocationRequestMiddleware implements MiddlewareInterface
46
-{
45
+class RevocationRequestMiddleware implements MiddlewareInterface {
47 46
     /**
48 47
      * Create new instance
49 48
      * @param AuthorizationServerInterface $authorizationServer
Please login to merge, or discard this patch.
src/Middleware/ResourceServerMiddleware.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class ResourceServerMiddleware
54 54
  * @package Platine\OAuth2\Middleware
55 55
  */
56
-class ResourceServerMiddleware implements MiddlewareInterface
57
-{
56
+class ResourceServerMiddleware implements MiddlewareInterface {
58 57
     /**
59 58
      * Create new instance
60 59
      * @param ResourceServerInterface $resourceServer
Please login to merge, or discard this patch.