Passed
Push — master ( 0c230a...4674d5 )
by Goffy
38s queued 14s
created
class/files/templates/user/TemplatesUserRss.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 TemplatesUserRss 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
-      * @return TemplatesUserRss
41
+     *  @static function getInstance
42
+     *  @param null
43
+     * @return TemplatesUserRss
44 44
      */
45 45
     public static function getInstance()
46 46
     {
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @private function getTemplatesUserRssXml
68
-    *  @param null
67
+     *  @private function getTemplatesUserRssXml
68
+     *  @param null
69 69
      * @return string
70 70
      */
71 71
     private function getTemplatesUserRssXml()
@@ -110,8 +110,8 @@  discard block
 block discarded – undo
110 110
     }
111 111
 
112 112
     /**
113
-    *  @public function render
114
-    *  @param null
113
+     *  @public function render
114
+     *  @param null
115 115
      * @return bool|string
116 116
      */
117 117
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserBreadcrumbs.php 2 patches
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 TemplatesUserBreadcrumbs 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 TemplatesUserBreadcrumbs
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         $link = $sc->getSmartyDoubleVar('itm', 'link');
83 83
         $glyph = $hc->getHtmlTag('i', ['class' => 'glyphicon glyphicon-home'], '', false, true);
84 84
         $anchor = $hc->getHtmlAnchor('<{xoAppUrl index.php}>', $glyph, 'home');
85
-        $into = $hc->getHtmlTag('li', ['class' => 'bc-item'], $anchor, false, true, $t) . PHP_EOL;
85
+        $into = $hc->getHtmlTag('li', ['class' => 'bc-item'], $anchor, false, true, $t).PHP_EOL;
86 86
         $anchorIf = $hc->getHtmlAnchor($link, $title, $title, '', '', '', $t."\t").PHP_EOL;
87 87
         $breadcrumb = $sc->getSmartyConditions('itm.link', '', '', $anchorIf, $titleElse, false, false, $t);
88 88
         $foreach = $hc->getHtmlTag('li', ['class' => 'bc-item'], $breadcrumb, false, false, $t);
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserHeader.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserHeader extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $tdmcfile = null;
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
     {
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
     }
46 46
 
47 47
     /**
48
-    *  @static function getInstance
49
-    *  @param null
48
+     *  @static function getInstance
49
+     *  @param null
50 50
      * @return TemplatesUserHeader
51 51
      */
52 52
     public static function getInstance()
@@ -60,9 +60,9 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-    *  @public function write
64
-    *  @param string $module
65
-    *  @param string $filename
63
+     *  @public function write
64
+     *  @param string $module
65
+     *  @param string $filename
66 66
      */
67 67
     public function write($module, $filename)
68 68
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     }
72 72
 
73 73
     /**
74
-    *  @public function getTemplatesUserHeader
74
+     *  @public function getTemplatesUserHeader
75 75
      * @param $moduleDirname
76 76
      * @return bool|string
77 77
      */
@@ -109,8 +109,8 @@  discard block
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-    *  @public function render
113
-    *  @param null
112
+     *  @public function render
113
+     *  @param null
114 114
      * @return bool|string
115 115
      */
116 116
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserPdf.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 TemplatesUserPdf 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 TemplatesUserPdf
44 44
      */
45 45
     public static function getInstance()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserSingle.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserSingle 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
-    * @return TemplatesUserSingle
41
+     *  @static function getInstance
42
+     *  @param null
43
+     * @return TemplatesUserSingle
44 44
      */
45 45
     public static function getInstance()
46 46
     {
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
58
-    *  @param string $table
59
-    *  @param string $filename
56
+     *  @public function write
57
+     *  @param string $module
58
+     *  @param string $table
59
+     *  @param string $filename
60 60
      */
61 61
     public function write($module, $table, $filename)
62 62
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @private function getTemplatesUserSingleHeader
69
+     *  @private function getTemplatesUserSingleHeader
70 70
      * @param $moduleDirname
71 71
      * @return string
72 72
      */
@@ -79,10 +79,10 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @private function getTemplatesUserSingleBody
83
-    *  @param string $moduleDirname
84
-    *  @param string $table
85
-    *  @param string $language
82
+     *  @private function getTemplatesUserSingleBody
83
+     *  @param string $moduleDirname
84
+     *  @param string $table
85
+     *  @param string $language
86 86
      *
87 87
      * @return string
88 88
      */
@@ -101,8 +101,8 @@  discard block
 block discarded – undo
101 101
     }
102 102
 
103 103
     /**
104
-    *  @private function getTemplatesUserSingleFooter
105
-    *  @param string $moduleDirname
104
+     *  @private function getTemplatesUserSingleFooter
105
+     *  @param string $moduleDirname
106 106
      *
107 107
      * @return string
108 108
      */
@@ -115,8 +115,8 @@  discard block
 block discarded – undo
115 115
     }
116 116
 
117 117
     /**
118
-    *  @public function render
119
-    *  @param null
118
+     *  @public function render
119
+     *  @param null
120 120
      * @return bool|string
121 121
      */
122 122
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserFooter.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -28,14 +28,14 @@  discard block
 block discarded – undo
28 28
 class TemplatesUserFooter extends TDMCreateFile
29 29
 {
30 30
     /**
31
-    * @var string
32
-    */
31
+     * @var string
32
+     */
33 33
     private $tdmcfile = null;
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
     {
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-    *  @static function getInstance
48
-    *  @param null
47
+     *  @static function getInstance
48
+     *  @param null
49 49
      * @return TemplatesUserFooter
50 50
      */
51 51
     public static function getInstance()
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-    *  @public function write
63
-    *  @param string $module
64
-    *  @param mixed $table
65
-    *  @param string $filename
62
+     *  @public function write
63
+     *  @param string $module
64
+     *  @param mixed $table
65
+     *  @param string $filename
66 66
      */
67 67
     public function write($module, $table, $filename)
68 68
     {
@@ -94,8 +94,8 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-    *  @public function render
98
-    *  @param null
97
+     *  @public function render
98
+     *  @param null
99 99
      * @return bool|string
100 100
      */
101 101
     public function render()
Please login to merge, or discard this patch.
class/files/templates/user/TemplatesUserFacebookComments.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 TemplatesUserFacebookComments 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 TemplatesUserFacebookComments
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
      * @return string
61 61
      */
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     }
67 67
 
68 68
     /**
69
-    *  @private function getTemplatesCommentCode
69
+     *  @private function getTemplatesCommentCode
70 70
      * @param null
71 71
      *
72 72
      * @return string
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-    *  @public function render
82
+     *  @public function render
83 83
      * @return bool|string
84 84
      */
85 85
     public function render()
Please login to merge, or discard this patch.
class/files/templates/admin/TemplatesAdminFooter.php 2 patches
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 TemplatesAdminFooter 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
     {
@@ -52,9 +52,9 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-    *  @public function write
56
-    *  @param string $module
57
-    *  @param string $filename
55
+     *  @public function write
56
+     *  @param string $module
57
+     *  @param string $filename
58 58
      */
59 59
     public function write($module, $filename)
60 60
     {
@@ -63,8 +63,8 @@  discard block
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-    *  @public function render
67
-    *  @param null
66
+     *  @public function render
67
+     *  @param null
68 68
      * @return bool|string
69 69
      */
70 70
     public function render()
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,12 +78,12 @@
 block discarded – undo
78 78
         $language = $this->getLanguage($moduleDirname, 'AM');
79 79
 
80 80
         $singleNoVar = $hc->getSmartyNoSimbol('xoModuleIcons32 xoopsmicrobutton.gif');
81
-        $img = $hc->getHtmlTag('img', ['src' => $singleNoVar, 'alt' => 'XOOPS'], '', true) . PHP_EOL;
82
-        $anchor = $hc->getHtmlTag('a', ['href' => 'https://xoops.org/', 'title' => 'Visit XOOPS', 'target' => '_blank'], $img) . PHP_EOL;
83
-        $content = $hc->getHtmlTag('div', ['class' => 'center'], $anchor) . PHP_EOL;
81
+        $img = $hc->getHtmlTag('img', ['src' => $singleNoVar, 'alt' => 'XOOPS'], '', true).PHP_EOL;
82
+        $anchor = $hc->getHtmlTag('a', ['href' => 'https://xoops.org/', 'title' => 'Visit XOOPS', 'target' => '_blank'], $img).PHP_EOL;
83
+        $content = $hc->getHtmlTag('div', ['class' => 'center'], $anchor).PHP_EOL;
84 84
         $tree = $hc->getHtmlTag('strong', [], $moduleName);
85 85
         $tree .= $hc->getSmartyConst($language, 'MAINTAINEDBY').PHP_EOL;
86
-        $tree .= $hc->getHtmlTag('a', ['href' => '<{$maintainedby}>', 'title' => 'Visit ' . $supportName, 'class' => 'tooltip', 'rel' => 'external'], $supportName);
86
+        $tree .= $hc->getHtmlTag('a', ['href' => '<{$maintainedby}>', 'title' => 'Visit '.$supportName, 'class' => 'tooltip', 'rel' => 'external'], $supportName);
87 87
         $content .= $hc->getHtmlTag('div', ['class' => 'center smallsmall italic pad5'], $tree);
88 88
 
89 89
         $this->create($moduleDirname, 'templates/admin', $filename, $content, _AM_TDMCREATE_FILE_CREATED, _AM_TDMCREATE_FILE_NOTCREATED);
Please login to merge, or discard this patch.
class/files/templates/admin/TemplatesAdminPermissions.php 2 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 class TemplatesAdminPermissions 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 TemplatesAdminPermissions
44 44
      */
45 45
     public static function getInstance()
@@ -53,8 +53,8 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-    *  @public function write
57
-    *  @param string $module
56
+     *  @public function write
57
+     *  @param string $module
58 58
      * @param $filename
59 59
      */
60 60
     public function write($module, $filename)
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     }
65 65
 
66 66
     /**
67
-    *  @private function getTemplatesAdminPermissionsHeader
68
-    *  @param string $moduleDirname
67
+     *  @private function getTemplatesAdminPermissionsHeader
68
+     *  @param string $moduleDirname
69 69
      *
70 70
      * @return string
71 71
      */
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-    *  @private function getTemplatesAdminPermissions
81
-    *  @param null
80
+     *  @private function getTemplatesAdminPermissions
81
+     *  @param null
82 82
      * @return string
83 83
      */
84 84
     private function getTemplatesAdminPermissions()
@@ -92,8 +92,8 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-    *  @private function getTemplatesAdminPermissionsFooter
96
-    *  @param string $moduleDirname
95
+     *  @private function getTemplatesAdminPermissionsFooter
96
+     *  @param string $moduleDirname
97 97
      *
98 98
      * @return string
99 99
      */
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-    *  @public function render
109
-    *  @param null
108
+     *  @public function render
109
+     *  @param null
110 110
      * @return bool|string
111 111
      */
112 112
     public function render()
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@
 block discarded – undo
85 85
     {
86 86
         $hc = TDMCreateHtmlSmartyCodes::getInstance();
87 87
         $form = $hc->getSmartySingleVar('form');
88
-        $ret = $hc->getHtmlTag('div', ['class' => 'spacer'], $form) . PHP_EOL;
89
-        $ret .= $hc->getHtmlTag('br', [], '', false) . PHP_EOL;
88
+        $ret = $hc->getHtmlTag('div', ['class' => 'spacer'], $form).PHP_EOL;
89
+        $ret .= $hc->getHtmlTag('br', [], '', false).PHP_EOL;
90 90
 
91 91
         return $ret;
92 92
     }
Please login to merge, or discard this patch.