Passed
Pull Request — main (#540)
by
unknown
22:35 queued 17:16
created
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.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/RaListing.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -120,13 +120,13 @@
 block discarded – undo
120 120
     {
121 121
         return [
122 122
             'identity_id' => $this->identityId,
123
-            'institution' => (string)$this->institution,
124
-            'ra_institution' => (string)$this->raInstitution,
125
-            'common_name' => (string)$this->commonName,
126
-            'email' => (string)$this->email,
127
-            'role' => (string)$this->role,
128
-            'location' => (string)$this->location,
129
-            'contact_information' => (string)$this->contactInformation,
123
+            'institution' => (string) $this->institution,
124
+            'ra_institution' => (string) $this->raInstitution,
125
+            'common_name' => (string) $this->commonName,
126
+            'email' => (string) $this->email,
127
+            'role' => (string) $this->role,
128
+            'location' => (string) $this->location,
129
+            'contact_information' => (string) $this->contactInformation,
130 130
         ];
131 131
     }
132 132
 }
Please login to merge, or discard this patch.
src/Surfnet/StepupMiddleware/ApiBundle/Identity/Entity/RaSecondFactor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
             'id' => $this->id,
81 81
             'type' => $this->type,
82 82
             'second_factor_id' => $this->secondFactorId,
83
-            'status' => (string)$this->status,
83
+            'status' => (string) $this->status,
84 84
             'identity_id' => $this->identityId,
85 85
             'name' => $this->name,
86 86
             'document_number' => $this->documentNumber,
Please login to merge, or discard this patch.