Passed
Push — master ( 354237...228434 )
by Goffy
03:14
created
class/Constants.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public const DIRECTORY_TYPE_USER = 1;
41 41
     public const DIRECTORY_TYPE_ORG  = 2;
42 42
 
43
-    public const DIRECTORY_CONTENT_ALL  = 0;
43
+    public const DIRECTORY_CONTENT_ALL = 0;
44 44
     public const DIRECTORY_CONTENT_OWN = 1;
45 45
 
46 46
     // Constants for status
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public const PERM_README_UPDATE = 3;
58 58
 
59 59
     // Constants for log type
60
-    public const LOG_TYPE_NONE  = 0;
60
+    public const LOG_TYPE_NONE = 0;
61 61
     public const LOG_TYPE_UPDATE_START = 1;
62 62
     public const LOG_TYPE_UPDATE_END   = 2;
63 63
     public const LOG_TYPE_REQUEST      = 3;
Please login to merge, or discard this patch.
class/Releases.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function getValuesReleases($keys = null, $format = null, $maxDepth = null)
138 138
     {
139
-        $helper  = \XoopsModules\Wggithub\Helper::getInstance();
139
+        $helper = \XoopsModules\Wggithub\Helper::getInstance();
140 140
         $ret = $this->getValues($keys, $format, $maxDepth);
141
-        $ret['id']          = $this->getVar('rel_id');
141
+        $ret['id'] = $this->getVar('rel_id');
142 142
         $repositoriesHandler = $helper->getHandler('Repositories');
143 143
         $repositoriesObj = $repositoriesHandler->get($this->getVar('rel_repoid'));
144 144
         if (\is_object($repositoriesObj)) {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         }
149 149
         $ret['type']        = $this->getVar('rel_type');
150 150
         $ret['name']        = $this->getVar('rel_name');
151
-        $ret['prerelease']  = (int)$this->getVar('rel_prerelease') > 0 ? _YES : _NO;
151
+        $ret['prerelease']  = (int) $this->getVar('rel_prerelease') > 0 ? _YES : _NO;
152 152
         $ret['publishedat'] = \formatTimestamp($this->getVar('rel_publishedat'), 'm');
153 153
         $ret['tarballurl']  = $this->getVar('rel_tarballurl');
154 154
         $ret['zipballurl']  = $this->getVar('rel_zipballurl');
Please login to merge, or discard this patch.