Passed
Push — master ( ff3fed...973f06 )
by Luiz Kim
02:24
created
src/Controller/ChangePasswordAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
   {
24 24
 
25 25
     try {
26
-      $payload   = json_decode($request->getContent());
26
+      $payload = json_decode($request->getContent());
27 27
 
28 28
       $user = $this->service->changePassword($data, $payload->password);
29 29
 
Please login to merge, or discard this patch.
src/Controller/CreateUserAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
   {
25 25
 
26 26
     try {
27
-      $payload   = json_decode($request->getContent());
28
-      $people =  $this->manager->getRepository(People::class)->find($payload->people);
27
+      $payload = json_decode($request->getContent());
28
+      $people = $this->manager->getRepository(People::class)->find($payload->people);
29 29
 
30 30
       $user = $this->service->createUser(
31 31
         $people,
Please login to merge, or discard this patch.
src/Controller/CreateAccountAction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
   {
25 25
 
26 26
     try {
27
-      $payload   = json_decode($request->getContent());
28
-      $people =  $this->service->discoveryPeople($payload->email, $payload->name);
27
+      $payload = json_decode($request->getContent());
28
+      $people = $this->service->discoveryPeople($payload->email, $payload->name);
29 29
 
30 30
       $user = $this->service->getUserSession($this->service->createUser(
31 31
         $people,
Please login to merge, or discard this patch.
src/Security/TokenAuthenticator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             throw new CustomUserMessageAuthenticationException('No API token provided');
40 40
 
41 41
         return new Passport(
42
-            new UserBadge($apiToken, function ($apiToken) {
42
+            new UserBadge($apiToken, function($apiToken) {
43 43
                 $user = $this->em->getRepository(User::class)->findOneBy(['apiKey' => $apiToken]);
44 44
                 if (null === $user)
45 45
                     throw new CustomUserMessageAuthenticationException('Invalid API token');
Please login to merge, or discard this patch.
src/Controller/Oauth/Instagram/InstagramConnectController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $this->provider = new Instagram([
26 26
             'clientId'     => $this->clientId,
27 27
             'clientSecret' => $this->clientSecret,
28
-            'redirectUri'  => 'https://' .$this->domainService->getMainDomain() . '/oauth/instagram/return',
28
+            'redirectUri'  => 'https://' . $this->domainService->getMainDomain() . '/oauth/instagram/return',
29 29
         ]);
30 30
     }
31 31
 
Please login to merge, or discard this patch.