Completed
Push — master ( 6b7a6d...74143b )
by Gino
20s
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/language/LanguageDefines.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class LanguageDefines
29 29
 {
30 30
     /**
31
-    * @var mixed
32
-    */
31
+     * @var mixed
32
+     */
33 33
     protected $defines;
34 34
 
35 35
     /**
36
-    *  @public function constructor
37
-    *  @param null
38
-    */
36
+     *  @public function constructor
37
+     *  @param null
38
+     */
39 39
 
40 40
     public function __construct()
41 41
     {
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-    *  @static function getInstance
47
-    *  @param null
46
+     *  @static function getInstance
47
+     *  @param null
48 48
      * @return LanguageDefines
49 49
      */
50 50
     public static function getInstance()
@@ -58,32 +58,32 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-    *  @public function getAboveHeadDefines
62
-    *  @param string $string
63
-    *  @return string
64
-    */
61
+     *  @public function getAboveHeadDefines
62
+     *  @param string $string
63
+     *  @return string
64
+     */
65 65
     public function getAboveHeadDefines($string)
66 66
     {
67 67
         return "// ---------------- {$string} ----------------\n";
68 68
     }
69 69
 
70 70
     /**
71
-    *  @public function getAboveDefines
72
-    *  @param string $string
73
-    *  @return string
74
-    */
71
+     *  @public function getAboveDefines
72
+     *  @param string $string
73
+     *  @return string
74
+     */
75 75
     public function getAboveDefines($string)
76 76
     {
77 77
         return "// {$string}\n";
78 78
     }
79 79
 
80 80
     /**
81
-    *  @public function getDefine
82
-    *  @param string $language
83
-    *  @param string $defined
84
-    *  @param string $description
85
-    *  @return string
86
-    */
81
+     *  @public function getDefine
82
+     *  @param string $language
83
+     *  @param string $defined
84
+     *  @param string $description
85
+     *  @return string
86
+     */
87 87
     public function getDefine($language, $defined, $description)
88 88
     {
89 89
         $defined = strtoupper($defined);
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-    *  @public function getBelowDefines
96
-    *  @param string $string
95
+     *  @public function getBelowDefines
96
+     *  @param string $string
97 97
      *
98 98
      * @return string
99 99
      */
Please login to merge, or discard this patch.
class/files/TDMCreateHtmlCode.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @public function getHtmlTag
48
+     *  @public function getHtmlTag
49 49
      * @param string $tag
50 50
      * @param array  $attributes
51 51
      * @param string $content
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
         return $ret;
74 74
     }
75 75
 
76
-     /**
77
-    *  @private function setAttributes
78
-    *  @param array $attributes
79
-     *
80
-     * @return string
81
-     */
76
+        /**
77
+         *  @private function setAttributes
78
+         *  @param array $attributes
79
+         *
80
+         * @return string
81
+         */
82 82
     private function getAttributes($attributes)
83 83
     {
84 84
         $str = '';
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-    *  @public function getHtmlEmpty
96
-    *  @param string $empty
95
+     *  @public function getHtmlEmpty
96
+     *  @param string $empty
97 97
      *
98 98
      * @return string
99 99
      */
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-    *  @public function getHtmlComment
107
-    *  @param string $htmlComment
108
-       * @return string
106
+     *  @public function getHtmlComment
107
+     *  @param string $htmlComment
108
+     * @return string
109 109
      */
110 110
     public function getHtmlComment($htmlComment = '')
111 111
     {
@@ -113,8 +113,8 @@  discard block
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-    *  @public function getHtmlBr
117
-    *  @param int $brNumb
116
+     *  @public function getHtmlBr
117
+     *  @param int $brNumb
118 118
      * @param string $htmlClass
119 119
      * @param string $t
120 120
      * @return string
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     }
132 132
 
133 133
     /**
134
-    *  @public function getHtmlHNumb
134
+     *  @public function getHtmlHNumb
135 135
      * @param string $content
136 136
      * @param string $n
137 137
      * @param string $htmlHClass
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
-    *  @public function getHtmlDiv
150
+     *  @public function getHtmlDiv
151 151
      * @param string $content
152 152
      * @param string $divClass
153 153
      * @param string $t
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-    *  @public function getHtmlPre
167
+     *  @public function getHtmlPre
168 168
      * @param string $content
169 169
      * @param string $preClass
170 170
      * @param string $t
@@ -181,8 +181,8 @@  discard block
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
-    *  @public function getHtmlSpan
185
-    *  @param string $content
184
+     *  @public function getHtmlSpan
185
+     *  @param string $content
186 186
      * @param string $spanClass
187 187
      * @param string $t
188 188
      * @return string
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-    *  @public function getHtmlParagraph
199
+     *  @public function getHtmlParagraph
200 200
      * @param string $content
201 201
      * @param string $pClass
202 202
      * @param string $t
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-    *  @public function getHtmlI
216
+     *  @public function getHtmlI
217 217
      * @param string $content
218 218
      * @param string $iClass
219 219
      * @param string $t
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
     }
229 229
 
230 230
     /**
231
-    *  @public function getHtmlUl
231
+     *  @public function getHtmlUl
232 232
      * @param string $content
233 233
      * @param string $ulClass
234 234
      * @param string $t
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     }
246 246
 
247 247
     /**
248
-    *  @public function getHtmlOl
248
+     *  @public function getHtmlOl
249 249
      * @param string $content
250 250
      * @param string $olClass
251 251
      * @param string $t
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     }
263 263
 
264 264
     /**
265
-    *  @public function getHtmlLi
265
+     *  @public function getHtmlLi
266 266
      * @param string $content
267 267
      * @param string $liClass
268 268
      * @param string $t
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     }
277 277
 
278 278
     /**
279
-    *  @public function getHtmlStrong
279
+     *  @public function getHtmlStrong
280 280
      * @param string $content
281 281
      * @param string $strongClass
282 282
      * @param string $t
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
     }
291 291
 
292 292
     /**
293
-    *  @public function getHtmlAnchor
293
+     *  @public function getHtmlAnchor
294 294
      * @param string $url
295 295
      * @param string $content
296 296
      * @param string $title
@@ -310,9 +310,9 @@  discard block
 block discarded – undo
310 310
     }
311 311
 
312 312
     /**
313
-    *  @public function getHtmlImage
314
-    *  @param string $src
315
-    *  @param string $alt
313
+     *  @public function getHtmlImage
314
+     *  @param string $src
315
+     *  @param string $alt
316 316
      * @param string $imgClass
317 317
      * @param string $t
318 318
      * @return string
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     }
327 327
 
328 328
     /**
329
-    *  @public function getHtmlTable
329
+     *  @public function getHtmlTable
330 330
      * @param string $content
331 331
      * @param string $tableClass
332 332
      * @param string $t
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
     }
344 344
 
345 345
     /**
346
-    *  @public function getHtmlTableThead
346
+     *  @public function getHtmlTableThead
347 347
      * @param string $content
348 348
      * @param string $theadClass
349 349
      * @param string $t
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
     }
361 361
 
362 362
     /**
363
-    *  @public function getHtmlTableTbody
363
+     *  @public function getHtmlTableTbody
364 364
      * @param string $content
365 365
      * @param string $tbodyClass
366 366
      * @param string $t
@@ -377,7 +377,7 @@  discard block
 block discarded – undo
377 377
     }
378 378
 
379 379
     /**
380
-    *  @public function getHtmlTableTfoot
380
+     *  @public function getHtmlTableTfoot
381 381
      * @param string $content
382 382
      * @param string $tfootClass
383 383
      * @param string $t
@@ -394,12 +394,12 @@  discard block
 block discarded – undo
394 394
     }
395 395
 
396 396
     /**
397
-    *  @public function getHtmlTableRow
397
+     *  @public function getHtmlTableRow
398 398
      * @param string $content
399 399
      * @param string $trClass
400 400
      * @param string $t
401 401
      * @return string
402
-      */
402
+     */
403 403
     public function getHtmlTableRow($content = '', $trClass = '', $t = '')
404 404
     {
405 405
         $rTrClass = ($trClass != '') ? " class='{$trClass}'" : '';
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
     }
412 412
 
413 413
     /**
414
-    *  @public function getHtmlTableHead
414
+     *  @public function getHtmlTableHead
415 415
      * @param string $content
416 416
      * @param string $thClass
417 417
      * @param string $colspan
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
     }
428 428
 
429 429
     /**
430
-    *  @public function getHtmlTableData
430
+     *  @public function getHtmlTableData
431 431
      * @param string $content
432 432
      * @param string $tdClass
433 433
      * @param string $colspan
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/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/IncludeUpdate.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 IncludeUpdate 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 IncludeUpdate
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,9 +64,9 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @private function getIncludeUpdateModule
68
-    *  @param string $moduleDirname
69
-    *  @param mixed $moduleVersion
67
+     *  @private function getIncludeUpdateModule
68
+     *  @param string $moduleDirname
69
+     *  @param mixed $moduleVersion
70 70
      *
71 71
      * @return string
72 72
      */
@@ -100,9 +100,9 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-    *  @private function getIncludeUpdateVersion
104
-    *  @param string $moduleDirname
105
-    *  @param mixed $moduleVersion
103
+     *  @private function getIncludeUpdateVersion
104
+     *  @param string $moduleDirname
105
+     *  @param mixed $moduleVersion
106 106
      *
107 107
      * @return string
108 108
      */
@@ -175,8 +175,8 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
     /**
178
-    *  @public function render
179
-    *  @param null
178
+     *  @public function render
179
+     *  @param null
180 180
      * @return bool|string
181 181
      */
182 182
     public function render()
Please login to merge, or discard this patch.
class/files/include/IncludeCommentFunctions.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 IncludeCommentFunctions 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 IncludeCommentFunctions
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
      * @param $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @public function render
70
-    *  @param null
69
+     *  @public function render
70
+     *  @param null
71 71
      * @return bool|string
72 72
      */
73 73
     public function render()
Please login to merge, or discard this patch.
class/files/assets/js/JavascriptJQuery.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class JavascriptJQuery 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 JavascriptJQuery
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
     {
Please login to merge, or discard this patch.
class/files/assets/css/CssSelectors.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function geCssComment($comment, $t)
53 53
     {
54
-		$ret = ('' != $comment) ? "{$t}/* {$comment} */" : '';
54
+        $ret = ('' != $comment) ? "{$t}/* {$comment} */" : '';
55 55
 		
56
-		return $ret;
56
+        return $ret;
57 57
     }
58 58
 
59 59
     /**
@@ -66,18 +66,18 @@  discard block
 block discarded – undo
66 66
     public function geCssSelector($selector, $content, $t)
67 67
     {
68 68
         $ret = '';
69
-		if(is_array($selector)) {
70
-			$ret .= $t. implode("\n", $selector) . ' {';
71
-		} else {
72
-			$ret .= $selector . ' {';
73
-		}		
74
-		if(is_array($content)) {
75
-			$ret .= $t. implode("\n", $content) . ';';
76
-		} else {
77
-			$ret .= $content . ';';
78
-		}
79
-		$ret = '}';
69
+        if(is_array($selector)) {
70
+            $ret .= $t. implode("\n", $selector) . ' {';
71
+        } else {
72
+            $ret .= $selector . ' {';
73
+        }		
74
+        if(is_array($content)) {
75
+            $ret .= $t. implode("\n", $content) . ';';
76
+        } else {
77
+            $ret .= $content . ';';
78
+        }
79
+        $ret = '}';
80 80
 		
81
-		return $ret;
81
+        return $ret;
82 82
     }
83 83
 }
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -66,15 +66,15 @@
 block discarded – undo
66 66
     public function geCssSelector($selector, $content, $t)
67 67
     {
68 68
         $ret = '';
69
-		if(is_array($selector)) {
70
-			$ret .= $t. implode("\n", $selector) . ' {';
69
+		if (is_array($selector)) {
70
+			$ret .= $t.implode("\n", $selector).' {';
71 71
 		} else {
72
-			$ret .= $selector . ' {';
72
+			$ret .= $selector.' {';
73 73
 		}		
74
-		if(is_array($content)) {
75
-			$ret .= $t. implode("\n", $content) . ';';
74
+		if (is_array($content)) {
75
+			$ret .= $t.implode("\n", $content).';';
76 76
 		} else {
77
-			$ret .= $content . ';';
77
+			$ret .= $content.';';
78 78
 		}
79 79
 		$ret = '}';
80 80
 		
Please login to merge, or discard this patch.