| @@ -105,7 +105,7 @@ | ||
| 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 | } | 
| @@ -105,8 +105,9 @@ | ||
| 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 | |
| @@ -173,7 +173,7 @@ | ||
| 173 | 173 | $this->metadata['qstart'] = !empty($this->metadata['qstart']) ? $this->parseBool($this->metadata['qstart']) : $qValue; | 
| 174 | 174 | |
| 175 | 175 |          if (isset($this->metadata['os_min_ver'])) { | 
| 176 | - $this->metadata['firmware'] = $this->metadata['os_min_ver']; | |
| 176 | + $this->metadata['firmware'] = $this->metadata['os_min_ver']; | |
| 177 | 177 | } | 
| 178 | 178 | } | 
| 179 | 179 | |
| @@ -165,12 +165,12 @@ | ||
| 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 |          if (isset($this->metadata['os_min_ver'])) { | 
| 176 | 176 | $this->metadata['firmware'] = $this->metadata['os_min_ver']; |