Passed
Push — master ( dc1f79...43726e )
by Goffy
02:26
created
class/files/language/LanguageMailTpl.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class LanguageMailTpl extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return LanguageMailTpl
44 44
      */
45 45
     public static function getInstance()
Please login to merge, or discard this patch.
class/files/docs/DocsFiles.php 2 patches
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class DocsFiles extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
43
-    */
41
+     *  @static function getInstance
42
+     *  @param null
43
+     */
44 44
     /**
45 45
      * @return DocsFiles
46 46
      */
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-    *  @public function write
59
-    *  @param string $module
60
-    *  @param string $filename
61
-    */
58
+     *  @public function write
59
+     *  @param string $module
60
+     *  @param string $filename
61
+     */
62 62
     /**
63 63
      * @param $module
64 64
      * @param $filename
@@ -70,11 +70,11 @@  discard block
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-    *  @public function getChangeLogFile
74
-    *  @param string $moduleDirname
75
-    *  @param string $mod_version
76
-    *  @param string $mod_author
77
-    */
73
+     *  @public function getChangeLogFile
74
+     *  @param string $moduleDirname
75
+     *  @param string $mod_version
76
+     *  @param string $mod_author
77
+     */
78 78
     /**
79 79
      * @param $moduleDirname
80 80
      * @param $mod_version
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-    *  @public function getCreditsFile
99
+     *  @public function getCreditsFile
100 100
      * @param $mod_author
101 101
      * @param $mod_credits
102 102
      * @param $mod_author_website_url
@@ -123,8 +123,8 @@  discard block
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-    *  @public function getInstallFile
127
-    *  @param null
126
+     *  @public function getInstallFile
127
+     *  @param null
128 128
      * @return string
129 129
      */
130 130
     public function getInstallFile()
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-    *  @public function getReadmeFile
144
-    *  @param null
143
+     *  @public function getReadmeFile
144
+     *  @param null
145 145
      * @return string
146 146
      */
147 147
     public function getReadmeFile()
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     }
159 159
 
160 160
     /**
161
-    *  @public function getLangDiffFile
161
+     *  @public function getLangDiffFile
162 162
      * @param $mod_version
163 163
      *
164 164
      * @return string
@@ -176,8 +176,8 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-    *  @public function render
180
-    *  @param null
179
+     *  @public function render
180
+     *  @param null
181 181
      * @return bool|string
182 182
      */
183 183
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.
class/files/TDMCreateStructure.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,24 +28,24 @@
 block discarded – undo
28 28
 class TDMCreateStructure
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $moduleName;
34 34
     /**
35
-    * @var string
36
-    */
35
+     * @var string
36
+     */
37 37
     private $folderName;
38 38
     /**
39
-    * @var string
40
-    */
39
+     * @var string
40
+     */
41 41
     private $fileName;
42 42
     /**
43
-    * @var string
44
-    */
43
+     * @var string
44
+     */
45 45
     private $path;
46 46
     /**
47
-    * @var mixed
48
-    */
47
+     * @var mixed
48
+     */
49 49
     private $uploadPath;
50 50
 
51 51
     /**
Please login to merge, or discard this patch.
class/files/TDMCreateMoreFiles.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,19 +28,19 @@  discard block
 block discarded – undo
28 28
 class TDMCreateMoreFiles extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     private $folder = null;
34 34
 
35 35
     /**
36
-    * @var mixed
37
-    */
36
+     * @var mixed
37
+     */
38 38
     private $extension = null;
39 39
 
40 40
     /**
41
-    *  @public function constructor
42
-    *  @param null
43
-    */
41
+     *  @public function constructor
42
+     *  @param null
43
+     */
44 44
 
45 45
     public function __construct()
46 46
     {
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-    *  @static function getInstance
52
-    *  @param null
51
+     *  @static function getInstance
52
+     *  @param null
53 53
      * @return TDMCreateMoreFiles
54 54
      */
55 55
     public static function getInstance()
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-    *  @private function getMoreFilesText
131
-    *  @param null
130
+     *  @private function getMoreFilesText
131
+     *  @param null
132 132
      *
133 133
      * @return string
134 134
      */
@@ -138,8 +138,8 @@  discard block
 block discarded – undo
138 138
     }
139 139
 
140 140
     /**
141
-    *  @private function getMoreFilesSql
142
-    *  @param null
141
+     *  @private function getMoreFilesSql
142
+     *  @param null
143 143
      *
144 144
      * @return string
145 145
      */
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-    *  @private function getMoreFilesCss
153
-    *  @param $header
152
+     *  @private function getMoreFilesCss
153
+     *  @param $header
154 154
      *
155 155
      * @return string
156 156
      */
@@ -163,8 +163,8 @@  discard block
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    *  @private function getMoreFilesDefault
167
-    *  @param null
166
+     *  @private function getMoreFilesDefault
167
+     *  @param null
168 168
      *
169 169
      * @return string
170 170
      */
Please login to merge, or discard this patch.
class/files/classes/ClassHelper.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class ClassHelper extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return ClassHelper
44 44
      */
45 45
     public static function getInstance()
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $filename
59 59
      */
60 60
     public function write($module, $filename)
61 61
     {
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @public function render
68
-    *  @param null
67
+     *  @public function render
68
+     *  @param null
69 69
      * @return bool|string
70 70
      */
71 71
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeComments.php 2 patches
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeComments extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeComments
44 44
      */
45 45
     public static function getInstance()
@@ -53,9 +53,9 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param mixed $table
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param mixed $table
59 59
      */
60 60
     public function write($module, $table)
61 61
     {
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @public function getCommentsIncludes
68
-    *  @param string $module
69
-    *  @param string $filename
67
+     *  @public function getCommentsIncludes
68
+     *  @param string $module
69
+     *  @param string $filename
70 70
      *
71 71
      * @return bool|string
72 72
      */
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
     }
85 85
 
86 86
     /**
87
-    *  @public function getCommentsNew
88
-    *  @param string $module
89
-    *  @param string $filename
87
+     *  @public function getCommentsNew
88
+     *  @param string $module
89
+     *  @param string $filename
90 90
      *
91 91
      * @return bool|string
92 92
      */
@@ -118,9 +118,9 @@  discard block
 block discarded – undo
118 118
         return $this->renderFile();
119 119
     }
120 120
     /**
121
-    *  @public function render
122
-    *  @param null
123
-    */
121
+     *  @public function render
122
+     *  @param null
123
+     */
124 124
     /*public function render() {
125 125
         $module = $this->getModule();
126 126
         $table = $this->getTable();
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     *  @param string $module
89 89
     *  @param string $filename
90 90
      *
91
-     * @return bool|string
91
+     * @return null|string
92 92
      */
93 93
     public function renderCommentsNew($module, $filename)
94 94
     {
Please login to merge, or discard this patch.
class/files/include/IncludeJquery.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
 class IncludeJquery extends TDMCreateFile
30 30
 {
31 31
     /**
32
-    *  @public function constructor
33
-    *  @param null
34
-    */
32
+     *  @public function constructor
33
+     *  @param null
34
+     */
35 35
 
36 36
     public function __construct()
37 37
     {
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-    *  @static function getInstance
43
-    *  @param null
42
+     *  @static function getInstance
43
+     *  @param null
44 44
      * @return IncludeJquery
45 45
      */
46 46
     public static function getInstance()
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-    *  @public function write
58
-    *  @param string $module
59
-    *  @param string $filename
57
+     *  @public function write
58
+     *  @param string $module
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $filename)
62 62
     {
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-    *  @public function render
69
-    *  @param null
68
+     *  @public function render
69
+     *  @param null
70 70
      * @return bool|string
71 71
      */
72 72
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeCommon.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeCommon extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeCommon
44 44
      */
45 45
     public static function getInstance()
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param object $table
59
-    *  @param string $filename
60
-    */
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param object $table
59
+     *  @param string $filename
60
+     */
61 61
     public function write($module, $table, $filename)
62 62
     {
63 63
         $this->setModule($module);
@@ -79,10 +79,10 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @private function getCommonCode
83
-    *  @param XoopsObject $module
84
-    * @return string
85
-    */
82
+     *  @private function getCommonCode
83
+     *  @param XoopsObject $module
84
+     * @return string
85
+     */
86 86
     private function getCommonCode($module)
87 87
     {
88 88
         $pc = TDMCreatePhpCode::getInstance();
@@ -135,8 +135,8 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-    *  @public function render
139
-    *  @param null
138
+     *  @public function render
139
+     *  @param null
140 140
      * @return bool|string
141 141
      */
142 142
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeInstall.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class IncludeInstall extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    *  @public function constructor
32
-    *  @param null
33
-    */
31
+     *  @public function constructor
32
+     *  @param null
33
+     */
34 34
 
35 35
     public function __construct()
36 36
     {
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-    *  @static function getInstance
42
-    *  @param null
41
+     *  @static function getInstance
42
+     *  @param null
43 43
      * @return IncludeInstall
44 44
      */
45 45
     public static function getInstance()
@@ -126,8 +126,8 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-    *  @private function getInstallImagesFolder
130
-    *  @param string $moduleDirname
129
+     *  @private function getInstallImagesFolder
130
+     *  @param string $moduleDirname
131 131
      *
132 132
      * @return string
133 133
      */
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-    *  @private function getInstallTableFilesFolder
204
-    *  @param string $tableName
203
+     *  @private function getInstallTableFilesFolder
204
+     *  @param string $tableName
205 205
      *
206 206
      * @return string
207 207
      */
@@ -217,8 +217,8 @@  discard block
 block discarded – undo
217 217
     }
218 218
 
219 219
     /**
220
-    *  @private function getInstallFooter
221
-    *  @param null
220
+     *  @private function getInstallFooter
221
+     *  @param null
222 222
      * @return string
223 223
      */
224 224
     private function getInstallFooter()
@@ -227,8 +227,8 @@  discard block
 block discarded – undo
227 227
     }
228 228
 
229 229
     /**
230
-    *  @public function render
231
-    *  @param null
230
+     *  @public function render
231
+     *  @param null
232 232
      * @return bool|string
233 233
      */
234 234
     public function render()
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     /**
139 139
     *  @public function render
140 140
     *  @param null
141
-     * @return bool|string
141
+     * @return null|string
142 142
      */
143 143
     public function render()
144 144
     {
Please login to merge, or discard this patch.