Completed
Push — fix-qinst ( d8e76d )
by Julien
13:12
created
selftest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,11 +82,11 @@
 block discarded – undo
82 82
     if ($assertion === true) {
83 83
         // All OK
84 84
         echo('<div class="result ok"><span>✔</span></div>');
85
-        echo('</div>');  // close checkline
85
+        echo('</div>'); // close checkline
86 86
     } else {
87 87
         // Not OK
88 88
         echo('<div class="result error"><span>✖</span></div>');
89
-        echo('</div>');  // close checkline
89
+        echo('</div>'); // close checkline
90 90
         echo('<div class="errortext">' . $error_text . '</div>');
91 91
     }
92 92
     echo('</div>');
Please login to merge, or discard this patch.
lib/SSpkS/Handler/BrowserPackageListHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function handle()
13 13
     {
14 14
         // Architecture is set --> show packages for that arch
15
-        $arch     = trim($_GET['arch']);
15
+        $arch = trim($_GET['arch']);
16 16
 
17 17
         $output = new HtmlOutput($this->config);
18 18
         $output->setVariable('arch', $arch);
Please login to merge, or discard this patch.
lib/SSpkS/Handler/SynologyHandler.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,10 +44,11 @@
 block discarded – undo
44 44
         $minor    = trim($_REQUEST['minor']);
45 45
         $build    = trim($_REQUEST['build']);
46 46
         $channel  = trim($_REQUEST['package_update_channel']);
47
-        if (isset($_REQUEST['language']))
48
-            $language = trim($_REQUEST['language']);
49
-        else
50
-            $language = '';
47
+        if (isset($_REQUEST['language'])) {
48
+                    $language = trim($_REQUEST['language']);
49
+        } else {
50
+                    $language = '';
51
+        }
51 52
         // more parameters: timezone and unique
52 53
 
53 54
         // Make sure, that the "client" knows that output is sent in JSON format
Please login to merge, or discard this patch.
lib/SSpkS/Package/Package.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@
 block discarded – undo
223 223
      * Returns a list of thumbnails for the specified package.
224 224
      *
225 225
      * @param string $pathPrefix Prefix to put before file path
226
-     * @return array List of thumbnail urls
226
+     * @return boolean List of thumbnail urls
227 227
      */
228 228
     public function hasWizardFile($pathPrefix = '')
229 229
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,10 +161,10 @@
 block discarded – undo
161 161
 
162 162
         $this->metadata['thumbnail'] = $this->getThumbnails();
163 163
         $this->metadata['snapshot']  = $this->getSnapshots();
164
-        $qValues = $this->hasWizardFile() ? false : true;
165
-        $this->metadata['qinst']  = $qValues;
164
+        $qValues = $this->hasWizardFile()? false : true;
165
+        $this->metadata['qinst'] = $qValues;
166 166
         $this->metadata['qupgrade']  = $qValues;
167
-        $this->metadata['qstart']  = $qValues;
167
+        $this->metadata['qstart'] = $qValues;
168 168
     }
169 169
 
170 170
     /**
Please login to merge, or discard this patch.