Passed
Push — feature/rejuvination ( 67a155...43710f )
by Peter
11:47 queued 06:01
created
Surfnet/StepupMiddleware/ApiBundle/Identity/Repository/SraaRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this
43 43
             ->getEntityManager()
44 44
             ->createQuery(
45
-                'DELETE FROM '.Sraa::class,
45
+                'DELETE FROM ' . Sraa::class,
46 46
             )
47 47
             ->execute();
48 48
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 
91 91
     public function findByNameId(NameId $nameId): ?Sraa
92 92
     {
93
-        return $this->findOneBy(['nameId' => (string)$nameId]);
93
+        return $this->findOneBy(['nameId' => (string) $nameId]);
94 94
     }
95 95
 
96 96
     /**
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Query/RaCandidateQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
 class RaCandidateQuery extends AbstractQuery
25 25
 {
26
-    public string|Institution|null $institution = null;
26
+    public string | Institution | null $institution = null;
27 27
 
28 28
     public ?string $commonName = null;
29 29
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public array $secondFactorTypes = [];
36 36
 
37
-    public string|Institution|null $raInstitution = null;
37
+    public string | Institution | null $raInstitution = null;
38 38
 
39 39
     public InstitutionAuthorizationContextInterface $authorizationContext;
40 40
 }
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Query/IdentityQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @var string|Institution
37 37
      */
38
-    public string|Institution $institution;
38
+    public string | Institution $institution;
39 39
 
40 40
     /**
41 41
      * @var string
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Query/RaListingQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
 class RaListingQuery extends AbstractQuery
26 26
 {
27
-    public string|Institution|null $institution = null;
27
+    public string | Institution | null $institution = null;
28 28
 
29 29
     public ?IdentityId $identityId = null;
30 30
 
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Query/RaaQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@
 block discarded – undo
25 25
     /**
26 26
      * @var string|Institution
27 27
      */
28
-    public string|Institution $institution;
28
+    public string | Institution $institution;
29 29
 
30 30
     /**
31 31
      * @var string
32 32
      */
33
-    public string|null $nameId;
33
+    public string | null $nameId;
34 34
 }
Please login to merge, or discard this patch.
ApiBundle/Identity/Entity/IdentitySelfAssertedTokenOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     public function jsonSerialize(): array
73 73
     {
74 74
         return [
75
-            'identity_id' => (string)$this->identityId,
75
+            'identity_id' => (string) $this->identityId,
76 76
             'possessed_self_asserted_token' => $this->possessedSelfAssertedToken,
77 77
             'possessed_token' => $this->possessedToken,
78 78
         ];
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/AuditLogEntry.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -168,18 +168,18 @@
 block discarded – undo
168 168
     {
169 169
         return [
170 170
             'actor_id' => $this->actorId,
171
-            'actor_institution' => $this->actorInstitution instanceof Institution ? (string)$this->actorInstitution : null,
172
-            'actor_common_name' => (string)$this->actorCommonName,
171
+            'actor_institution' => $this->actorInstitution instanceof Institution ? (string) $this->actorInstitution : null,
172
+            'actor_common_name' => (string) $this->actorCommonName,
173 173
             'identity_id' => $this->identityId,
174
-            'identity_institution' => (string)$this->identityInstitution,
175
-            'ra_institution' => (string)$this->raInstitution,
174
+            'identity_institution' => (string) $this->identityInstitution,
175
+            'ra_institution' => (string) $this->raInstitution,
176 176
             'second_factor_id' => $this->secondFactorId,
177
-            'second_factor_type' => $this->secondFactorType ? (string)$this->secondFactorType : null,
177
+            'second_factor_type' => $this->secondFactorType ? (string) $this->secondFactorType : null,
178 178
             'second_factor_identifier' => $this->secondFactorIdentifier,
179 179
             'recovery_token_type' => $this->recoveryTokenType,
180 180
             'recovery_token_identifier' => $this->recoveryTokenIdentifier,
181 181
             'action' => $this->mapEventToAction($this->event),
182
-            'recorded_on' => (string)$this->recordedOn,
182
+            'recorded_on' => (string) $this->recordedOn,
183 183
         ];
184 184
     }
185 185
 
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/RecoveryToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         return [
85 85
             'id' => $this->id,
86 86
             'type' => $this->type,
87
-            'status' => (string)$this->status,
87
+            'status' => (string) $this->status,
88 88
             'recovery_method_identifier' => $this->recoveryMethodIdentifier,
89 89
             'identity_id' => $this->identityId,
90 90
             'name' => $this->name,
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/RaCandidate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         Institution $raInstitution,
87 87
     ): self {
88 88
         $candidate = new self();
89
-        $candidate->identityId = (string)$identityId;
89
+        $candidate->identityId = (string) $identityId;
90 90
         $candidate->institution = $institution;
91 91
         $candidate->nameId = $nameId;
92 92
         $candidate->commonName = $commonName;
Please login to merge, or discard this patch.