Test Setup Failed
Push — fix-qinst ( 0a57f0...9bf464 )
by Julien
03:08
created
lib/SSpkS/Output/JsonOutput.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Checks if $obj contains $property and if not, returns $alternative.
31 31
      *
32
-     * @param object $obj Object to check
32
+     * @param \SSpkS\Package\Package $obj Object to check
33 33
      * @param string $property Property to check for
34 34
      * @param mixed $alternative Alternative to return if key not found
35 35
      * @return mixed Value from $obj->$property or $alternative
Please login to merge, or discard this patch.
lib/SSpkS/Package/Package.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -240,10 +240,10 @@
 block discarded – undo
240 240
             throw new \Exception('Package ' . $this->filepath . ' not readable! Will be ignored in the future. Please try again!');
241 241
         }
242 242
         foreach($p as $file) {
243
-           if (substr($file, strrpos($file, "/")+1) == 'WIZARD_UIFILES') {
244
-               touch($this->wizfile);
245
-               return true;
246
-           }
243
+            if (substr($file, strrpos($file, "/")+1) == 'WIZARD_UIFILES') {
244
+                touch($this->wizfile);
245
+                return true;
246
+            }
247 247
         }
248 248
         return false;
249 249
     }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $this->filenameNoExt = basename($filename, '.spk');
57 57
         $this->filepathNoExt = $this->config->paths['cache'] . $this->filenameNoExt;
58 58
         $this->metafile      = $this->filepathNoExt . '.nfo';
59
-        $this->wizfile      = $this->filepathNoExt . '.wiz';
59
+        $this->wizfile = $this->filepathNoExt . '.wiz';
60 60
     }
61 61
 
62 62
     /**
@@ -239,8 +239,8 @@  discard block
 block discarded – undo
239 239
             rename($this->filepath, $this->filepath . '.invalid');
240 240
             throw new \Exception('Package ' . $this->filepath . ' not readable! Will be ignored in the future. Please try again!');
241 241
         }
242
-        foreach($p as $file) {
243
-           if (substr($file, strrpos($file, "/")+1) == 'WIZARD_UIFILES') {
242
+        foreach ($p as $file) {
243
+           if (substr($file, strrpos($file, "/") + 1) == 'WIZARD_UIFILES') {
244 244
                touch($this->wizfile);
245 245
                return true;
246 246
            }
Please login to merge, or discard this patch.