Test Failed
Branch feature/support-php8 (28058b)
by Pieter van der
06:39 queued 02:38
created
library/tiqr/Tiqr/DeviceStorage.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,10 +45,10 @@
 block discarded – undo
45 45
      * @param LoggerInterface $logger
46 46
      * @throws Exception An exception if an unknown storage is requested.
47 47
      */
48
-    public static function getStorage($type="dummy", $options=array(), LoggerInterface $logger=null)
48
+    public static function getStorage($type = "dummy", $options = array(), LoggerInterface $logger = null)
49 49
     {
50 50
         if (!$logger)
51
-            $logger=new \Psr\Log\NullLogger();
51
+            $logger = new \Psr\Log\NullLogger();
52 52
 
53 53
         switch ($type) {
54 54
             case "dummy":
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,9 @@
 block discarded – undo
47 47
      */
48 48
     public static function getStorage($type="dummy", $options=array(), LoggerInterface $logger=null)
49 49
     {
50
-        if (!$logger)
51
-            $logger=new \Psr\Log\NullLogger();
50
+        if (!$logger) {
51
+                    $logger=new \Psr\Log\NullLogger();
52
+        }
52 53
 
53 54
         switch ($type) {
54 55
             case "dummy":
Please login to merge, or discard this patch.
library/tiqr/Tiqr/OcraService/Abstract.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
         $this->logger = $logger;
36 36
 
37 37
         // Set the OCRA suite
38
-        $this->_ocraSuite = $config['ocra.suite'] ?? 'OCRA-1:HOTP-SHA1-6:QH10-S';   // Use tiqr server default suite
38
+        $this->_ocraSuite = $config['ocra.suite'] ?? 'OCRA-1:HOTP-SHA1-6:QH10-S'; // Use tiqr server default suite
39 39
         $this->_ocraParser = new OATH_OCRAParser($this->_ocraSuite);
40 40
     }
41 41
 
Please login to merge, or discard this patch.