Passed
Pull Request — main (#557)
by Johan
10:46 queued 05:30
created
ManagementBundle/Validator/ReconfigureInstitutionRequestValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
         }
236 236
 
237 237
         $this->whitelistedInstitutions = array_map(
238
-            fn(WhitelistEntry $whitelistEntry): string => (string)$whitelistEntry->institution,
238
+            fn(WhitelistEntry $whitelistEntry): string => (string) $whitelistEntry->institution,
239 239
             $this->whitelistService->getAllEntries()->toArray(),
240 240
         );
241 241
 
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 
257 257
         return array_filter(
258 258
             $institutions,
259
-            function ($institution) use ($normalizedConfiguredInstitutions): bool {
259
+            function($institution) use ($normalizedConfiguredInstitutions): bool {
260 260
                 $normalizedInstitution = strtolower($institution);
261 261
 
262 262
                 return !in_array($normalizedInstitution, $normalizedConfiguredInstitutions);
Please login to merge, or discard this patch.
CommandHandlingBundle/Twig/BackwardsCompatibleExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
42 42
     #[AsTwigFilter('localizeddate', needsEnvironment: true)]
43 43
     public function localizedDate(
44 44
         Environment $env,
45
-        DateTimeInterface|string|null $date,
45
+        DateTimeInterface | string | null $date,
46 46
         ?string $dateFormat = 'medium',
47 47
         ?string $timeFormat = 'medium',
48 48
         string $locale = null
49 49
     ): string {
50
-        return $this->intlExtension->formatDateTime($env, $date, $dateFormat, $timeFormat, locale: $locale);
50
+        return $this->intlExtension->formatDateTime($env, $date, $dateFormat, $timeFormat, locale : $locale);
51 51
     }
52 52
 }
Please login to merge, or discard this patch.
Console/Command/BootstrapIdentityWithYubikeySecondFactorCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,14 +74,14 @@
 block discarded – undo
74 74
         }
75 75
 
76 76
         $command = new BootstrapIdentityWithYubikeySecondFactorIdentityCommand();
77
-        $command->UUID = (string)Uuid::uuid4();
78
-        $command->identityId = (string)Uuid::uuid4();
77
+        $command->UUID = (string) Uuid::uuid4();
78
+        $command->identityId = (string) Uuid::uuid4();
79 79
         $command->nameId = $nameId;
80 80
         $command->institution = $institution;
81 81
         $command->commonName = $commonName;
82 82
         $command->email = $email;
83 83
         $command->preferredLocale = $preferredLocale;
84
-        $secondFactorId = (string)Uuid::uuid4();
84
+        $secondFactorId = (string) Uuid::uuid4();
85 85
         $command->secondFactorId = $secondFactorId;
86 86
         $command->yubikeyPublicId = $yubikey;
87 87
 
Please login to merge, or discard this patch.
MiddlewareBundle/Console/Command/MigrateSecondFactorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         string $newNameId,
49 49
         #[Argument(description: 'The institution of the target identity', name: 'target-institution')]
50 50
         ?string $targetInstitution,
51
-        #[Argument(description: 'The e-mail address of the identity to create', name: 'email')]
51
+        #[Argument(description : 'The e-mail address of the identity to create', name : 'email')]
52 52
         ?string $email,
53 53
         OutputInterface $output
54 54
     ): int {
Please login to merge, or discard this patch.