Test Failed
Push — php7 ( ed8f3c...416ff6 )
by Pascal
02:17
created
lib/SSpkS/Package/Package.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,9 +168,9 @@
 block discarded – undo
168 168
         $qValue = $this->hasWizardDir()? false : true;
169 169
         $this->metadata['thumbnail'] = $this->getThumbnails();
170 170
         $this->metadata['snapshot']  = $this->getSnapshots();
171
-        $this->metadata['qinst']     = !empty($this->metadata['qinst'])? $this->parseBool($this->metadata['qinst']):$qValue;
172
-        $this->metadata['qupgrade']  = !empty($this->metadata['qupgrade'])? $this->parseBool($this->metadata['qupgrade']):$qValue;
173
-        $this->metadata['qstart']    = !empty($this->metadata['qstart'])? $this->parseBool($this->metadata['qstart']):$qValue;
171
+        $this->metadata['qinst']     = !empty($this->metadata['qinst'])?$this->parseBool($this->metadata['qinst']):$qValue;
172
+        $this->metadata['qupgrade']  = !empty($this->metadata['qupgrade'])?$this->parseBool($this->metadata['qupgrade']):$qValue;
173
+        $this->metadata['qstart']    = !empty($this->metadata['qstart'])?$this->parseBool($this->metadata['qstart']):$qValue;
174 174
     }
175 175
 
176 176
     /**
Please login to merge, or discard this patch.
lib/SSpkS/Device/DeviceList.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,11 +44,13 @@
 block discarded – undo
44 44
         }
45 45
         $idx = 0;
46 46
         $sortkey = array();
47
-        if (!is_object($familylist))
48
-            throw new \Exception('Architectures list is not an array');
47
+        if (!is_object($familylist)) {
48
+                    throw new \Exception('Architectures list is not an array');
49
+        }
49 50
         foreach ($familylist as $family => $archlist) {
50
-            if (!is_array($archlist) && !is_object($archlist))
51
-                throw new \Exception("Models list in $family is not an array");
51
+            if (!is_array($archlist) && !is_object($archlist)) {
52
+                            throw new \Exception("Models list in $family is not an array");
53
+            }
52 54
             foreach ($archlist as $arch => $archmodels) {
53 55
                 foreach ($archmodels as $model) {
54 56
                     $this->devices[$idx] = array(
Please login to merge, or discard this patch.