Passed
Push — main ( a0cbf5...2422e5 )
by Breno
01:59
created
src/Environment.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
     public static function production(): array
9 9
     {
10 10
         return [
11
-           'urlAuthorize'            => 'https://sso.staging.acesso.gov.br/authorize',
12
-           'urlAccessToken'          => 'https://sso.staging.acesso.gov.br/token',
13
-           'urlResourceOwnerDetails' => 'https://sso.staging.acesso.gov.br/userinfo',
11
+            'urlAuthorize'            => 'https://sso.staging.acesso.gov.br/authorize',
12
+            'urlAccessToken'          => 'https://sso.staging.acesso.gov.br/token',
13
+            'urlResourceOwnerDetails' => 'https://sso.staging.acesso.gov.br/userinfo',
14 14
         ];
15 15
     }
16 16
 
Please login to merge, or discard this patch.
example/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 use Psr\Http\Message\ResponseInterface;
13 13
 use Psr\Http\Message\ServerRequestInterface;
14 14
 
15
-require __DIR__ . '/../vendor/autoload.php';
15
+require __DIR__.'/../vendor/autoload.php';
16 16
 
17 17
 /**
18 18
  * ----------------------------------------------------------------------
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
  *     - Os parâmetros abaixos são sigilosos, evite comitar os valores no seu repositório
67 67
  *     - Prefira obter os valores abaixo usando getenv(...) ao invés de fixar no código
68 68
  */
69
-$govBr =  new GovBr([
69
+$govBr = new GovBr([
70 70
     'clientId'      => 'XXXXXXXX', // Client ID fornecido pelo GovBr
71 71
     'clientSecret'  => 'YYYYYYYY', // Senha fornecida pelo provedor GovBr
72 72
     'redirectUri'   => "https://seu-app-dominio.com.br/seu-oauth-login" // Url de redirecionamento cadastrada no GovBr
Please login to merge, or discard this patch.