Passed
Push — master ( a06116...c43f53 )
by Pascal
01:13 queued 12s
created
lib/SSpkS/Package/Package.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -165,12 +165,12 @@
 block discarded – undo
165 165
             $this->metadata['beta'] = false;
166 166
         }
167 167
 
168
-        $qValue = $this->hasWizardDir() ? false : true;
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/Package/PackageFilter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         if ($this->filterFwVersion === false) {
106 106
             return true;
107 107
         }
108
-        if(version_compare(/** @scrutinizer ignore-type */ $this->filterFwVersion, '7', '<'))
108
+        if (version_compare(/** @scrutinizer ignore-type */ $this->filterFwVersion, '7', '<'))
109 109
             return $this->isMatchingFirmwareVersionPre7($package);
110 110
         return $this->isMatchingFirmwareVersionPost7($package);
111 111
     }
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,8 +105,9 @@
 block discarded – undo
105 105
         if ($this->filterFwVersion === false) {
106 106
             return true;
107 107
         }
108
-        if(version_compare(/** @scrutinizer ignore-type */ $this->filterFwVersion, '7', '<'))
109
-            return $this->isMatchingFirmwareVersionPre7($package);
108
+        if(version_compare(/** @scrutinizer ignore-type */ $this->filterFwVersion, '7', '<')) {
109
+                    return $this->isMatchingFirmwareVersionPre7($package);
110
+        }
110 111
         return $this->isMatchingFirmwareVersionPost7($package);
111 112
     }
112 113
 
Please login to merge, or discard this patch.