Passed
Push — dependabot/composer/symfony/ru... ( 368a07 )
by
unknown
11:56 queued 05:15
created
Surfnet/StepupMiddleware/MiddlewareBundle/Service/EventStreamReplayer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 
157 157
             $output->writeln(['', '<info>Done</info>', '']);
158 158
         } catch (Throwable $e) {
159
-            echo $e->getMessage()."\n";
159
+            echo $e->getMessage() . "\n";
160 160
 
161 161
             $this->connectionHelper->rollBack();
162 162
             if (isset($replayProgress)) {
Please login to merge, or discard this patch.
MiddlewareBundle/Service/VerifiedSecondFactorReminderMailService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
             'templateString' => $emailTemplate->htmlContent,
132 132
             'locale' => $locale,
133 133
             'commonName' => $commonName,
134
-            'expirationDate' => (string)$requestedAt,
134
+            'expirationDate' => (string) $requestedAt,
135 135
             'registrationCode' => $registrationCode,
136 136
             'raLocations' => $raLocations,
137 137
         ];
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
             'templateString' => $emailTemplate->htmlContent,
175 175
             'locale' => $locale,
176 176
             'commonName' => $commonName,
177
-            'expirationDate' => (string)$requestedAt,
177
+            'expirationDate' => (string) $requestedAt,
178 178
             'registrationCode' => $registrationCode,
179 179
             'ras' => $ras,
180 180
         ];
Please login to merge, or discard this patch.
MiddlewareBundle/Service/SecondFactorDisplayNameResolverService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
      */
32 32
     public function resolveByType(SecondFactorType $secondFactorType): string
33 33
     {
34
-        return $this->secondFactors[(string)$secondFactorType] ?? ucfirst((string)$secondFactorType);
34
+        return $this->secondFactors[(string) $secondFactorType] ?? ucfirst((string) $secondFactorType);
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
Surfnet/StepupMiddleware/ApiBundle/Configuration/Query/RaLocationQuery.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.
Surfnet/Stepup/Identity/Event/U2fDevicePossessionProvenAndVerifiedEvent.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/SecondFactorVettedEvent.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -123,12 +123,12 @@
 block discarded – undo
123 123
     public function serialize(): array
124 124
     {
125 125
         return [
126
-            'identity_id' => (string)$this->identityId,
127
-            'name_id' => (string)$this->nameId,
128
-            'identity_institution' => (string)$this->identityInstitution,
129
-            'second_factor_id' => (string)$this->secondFactorId,
130
-            'second_factor_type' => (string)$this->secondFactorType,
131
-            'preferred_locale' => (string)$this->preferredLocale,
126
+            'identity_id' => (string) $this->identityId,
127
+            'name_id' => (string) $this->nameId,
128
+            'identity_institution' => (string) $this->identityInstitution,
129
+            'second_factor_id' => (string) $this->secondFactorId,
130
+            'second_factor_type' => (string) $this->secondFactorType,
131
+            'preferred_locale' => (string) $this->preferredLocale,
132 132
         ];
133 133
     }
134 134
 
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/IdentityAccreditedAsRaEvent.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -86,12 +86,12 @@
 block discarded – undo
86 86
     public function serialize(): array
87 87
     {
88 88
         return [
89
-            'identity_id' => (string)$this->identityId,
90
-            'name_id' => (string)$this->nameId,
91
-            'institution' => (string)$this->identityInstitution,
89
+            'identity_id' => (string) $this->identityId,
90
+            'name_id' => (string) $this->nameId,
91
+            'institution' => (string) $this->identityInstitution,
92 92
             'registration_authority_role' => $this->registrationAuthorityRole->serialize(),
93
-            'location' => (string)$this->location,
94
-            'contact_information' => (string)$this->contactInformation,
93
+            'location' => (string) $this->location,
94
+            'contact_information' => (string) $this->contactInformation,
95 95
         ];
96 96
     }
97 97
 
Please login to merge, or discard this patch.
src/Surfnet/Stepup/Identity/Event/U2fDevicePossessionProvenEvent.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/AppointedAsRaEvent.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,9 +67,9 @@
 block discarded – undo
67 67
     public function serialize(): array
68 68
     {
69 69
         return [
70
-            'identity_id' => (string)$this->identityId,
71
-            'institution' => (string)$this->identityInstitution,
72
-            'name_id' => (string)$this->nameId,
70
+            'identity_id' => (string) $this->identityId,
71
+            'institution' => (string) $this->identityInstitution,
72
+            'name_id' => (string) $this->nameId,
73 73
         ];
74 74
     }
75 75
 
Please login to merge, or discard this patch.