Passed
Pull Request — master (#5)
by Thomas
02:03
created
src/u2flib_server/U2F.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     {
167 167
         if (OPENSSL_VERSION_NUMBER < 0x10000000) {
168 168
             throw new Error(
169
-                'OpenSSL has to be at least version 1.0.0, this is ' . OPENSSL_VERSION_TEXT,
169
+                'OpenSSL has to be at least version 1.0.0, this is '.OPENSSL_VERSION_TEXT,
170 170
                 ERR_OLD_OPENSSL
171 171
             );
172 172
         }
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         }
220 220
 
221 221
         if (property_exists($response, 'errorCode') && $response->errorCode !== 0) {
222
-            throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING);
222
+            throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING);
223 223
         }
224 224
 
225 225
         if (!is_bool($includeCert)) {
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
         }
347 347
 
348 348
         if (property_exists($response, 'errorCode') && $response->errorCode !== 0) {
349
-            throw new Error('User-agent returned error. Error code: ' . $response->errorCode, ERR_BAD_UA_RETURNING);
349
+            throw new Error('User-agent returned error. Error code: '.$response->errorCode, ERR_BAD_UA_RETURNING);
350 350
         }
351 351
 
352 352
         /**
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
          */
525 525
         $der = "\x30\x59\x30\x13\x06\x07\x2a\x86\x48\xce\x3d\x02\x01";
526 526
         $der .= "\x06\x08\x2a\x86\x48\xce\x3d\x03\x01\x07\x03\x42";
527
-        $der .= "\0" . $key;
527
+        $der .= "\0".$key;
528 528
 
529 529
         $pem = "-----BEGIN PUBLIC KEY-----\r\n";
530 530
         $pem .= chunk_split(base64_encode($der), 64);
Please login to merge, or discard this patch.