Passed
Push — master ( 9fca23...be767f )
by Tim
02:49
created
src/Controller/WebAuthn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
 
116
-    public static function loadModuleConfig(array $moduleConfig, StateData &$stateData): void
116
+    public static function loadModuleConfig(array $moduleConfig, StateData & $stateData): void
117 117
     {
118 118
         $stateData->store = Store::parseStoreConfig($moduleConfig['store']);
119 119
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         $frontendData = [];
220 220
         $frontendData['challengeEncoded'] = $challengeEncoded;
221 221
         $frontendData['state'] = [];
222
-        foreach (['FIDO2Scope','FIDO2Username','FIDO2Displayname','requestTokenModel'] as $stateItem) {
222
+        foreach (['FIDO2Scope', 'FIDO2Username', 'FIDO2Displayname', 'requestTokenModel'] as $stateItem) {
223 223
             $frontendData['state'][$stateItem] = $state[$stateItem];
224 224
         }
225 225
 
Please login to merge, or discard this patch.
src/WebAuthn/WebAuthnRegistrationEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     public const FIDO_CERTIFIED_L3PLUS = "FIDO_CERTIFIED_L3plus";
60 60
 
61 61
     // Keymaster 3 - KeyMint ???
62
-    private const ORIGINS_3 = [ // https://source.android.com/docs/security/features/keystore/tags#origin
62
+    private const ORIGINS_3 = [// https://source.android.com/docs/security/features/keystore/tags#origin
63 63
         0 => "GENERATED",
64 64
         1 => "DERIVED",
65 65
         2 => "IMPORTED",
@@ -755,7 +755,7 @@  discard block
 block discarded – undo
755 755
          * STEP 13 of the validation procedure in § 7.1 of the spec: is the algorithm the expected one?
756 756
          */
757 757
         if (in_array($arrayPK['3'], self::PK_ALGORITHM)) { // we requested -7 or -257, so want to see it here
758
-            $this->algo = (int)$arrayPK['3'];
758
+            $this->algo = (int) $arrayPK['3'];
759 759
             $this->pass("Public Key Algorithm is expected (" .
760 760
                 implode(' or ', WebAuthnRegistrationEvent::PK_ALGORITHM) .
761 761
                 ").");
Please login to merge, or discard this patch.