Passed
Push — php7 ( 416ff6...9e646d )
by Pascal
02:15
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   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,9 @@
 block discarded – undo
45 45
         $idx = 0;
46 46
         $sortkey = array();
47 47
         foreach ($familylist as $family => $archlist) {
48
-            if (!is_array($archlist) && !is_object($archlist))
49
-                throw new \Exception("Models list in $family is not an array");
48
+            if (!is_array($archlist) && !is_object($archlist)) {
49
+                            throw new \Exception("Models list in $family is not an array");
50
+            }
50 51
             foreach ($archlist as $arch => $archmodels) {
51 52
                 foreach ($archmodels as $model) {
52 53
                     $this->devices[$idx] = array(
Please login to merge, or discard this patch.