Passed
Push — dependabot/composer/symfony/ru... ( 368a07 )
by
unknown
11:56 queued 05:15
created
Surfnet/Stepup/Identity/Event/YubikeyPossessionProvenAndVerifiedEvent.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
             Email::unknown(),
106 106
             new Locale($data['preferred_locale']),
107 107
             DateTime::fromString($data['registration_requested_at']),
108
-            (string)$data['registration_code'],
108
+            (string) $data['registration_code'],
109 109
         );
110 110
     }
111 111
 
@@ -117,12 +117,12 @@  discard block
 block discarded – undo
117 117
     public function serialize(): array
118 118
     {
119 119
         return [
120
-            'identity_id' => (string)$this->identityId,
121
-            'identity_institution' => (string)$this->identityInstitution,
122
-            'second_factor_id' => (string)$this->secondFactorId,
123
-            'registration_requested_at' => (string)$this->registrationRequestedAt,
120
+            'identity_id' => (string) $this->identityId,
121
+            'identity_institution' => (string) $this->identityInstitution,
122
+            'second_factor_id' => (string) $this->secondFactorId,
123
+            'registration_requested_at' => (string) $this->registrationRequestedAt,
124 124
             'registration_code' => $this->registrationCode,
125
-            'preferred_locale' => (string)$this->preferredLocale,
125
+            'preferred_locale' => (string) $this->preferredLocale,
126 126
         ];
127 127
     }
128 128
 
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/YubikeyPossessionProvenEvent.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -117,13 +117,13 @@
 block discarded – undo
117 117
     public function serialize(): array
118 118
     {
119 119
         return [
120
-            'identity_id' => (string)$this->identityId,
121
-            'identity_institution' => (string)$this->identityInstitution,
122
-            'second_factor_id' => (string)$this->secondFactorId,
120
+            'identity_id' => (string) $this->identityId,
121
+            'identity_institution' => (string) $this->identityInstitution,
122
+            'second_factor_id' => (string) $this->secondFactorId,
123 123
             'email_verification_required' => $this->emailVerificationRequired,
124 124
             'email_verification_window' => $this->emailVerificationWindow->serialize(),
125 125
             'email_verification_nonce' => $this->emailVerificationNonce,
126
-            'preferred_locale' => (string)$this->preferredLocale,
126
+            'preferred_locale' => (string) $this->preferredLocale,
127 127
         ];
128 128
     }
129 129
 
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/IdentityEmailChangedEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
     public function serialize(): array
73 73
     {
74 74
         return [
75
-            'id' => (string)$this->identityId,
76
-            'institution' => (string)$this->identityInstitution,
75
+            'id' => (string) $this->identityId,
76
+            'institution' => (string) $this->identityInstitution,
77 77
         ];
78 78
     }
79 79
 
Please login to merge, or discard this patch.