Passed
Push — dsm7 ( bf1378...077f89 )
by Pascal
02:09
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/Handler/SynologyHandler.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,8 @@
 block discarded – undo
69 69
         $jo = new JsonOutput($this->config);
70 70
         $jo->setExcludedServices($this->config->excludedSynoServices);
71 71
         $hideKeys = array();
72
-        if ($major >= 7) {// DSM does always hides packages marked as beta
72
+        if ($major >= 7) {
73
+// DSM does always hides packages marked as beta
73 74
             array_push($hideKeys, 'beta');
74 75
         }
75 76
         $jo->outputPackages($filteredPkgList, $language, $hideKeys);
Please login to merge, or discard this patch.