Passed
Push — master ( b0d33f...c3efce )
by Goffy
08:12 queued 04:33
created
admin/logs.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 use XoopsModules\Wggithub\Constants;
26 26
 use XoopsModules\Wggithub\Common;
27 27
 
28
-require __DIR__ . '/header.php';
28
+require __DIR__.'/header.php';
29 29
 // It recovered the value of argument op in URL$
30 30
 $op    = Request::getCmd('op', 'list');
31 31
 $logId = Request::getInt('log_id');
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
             }
59 59
             // Display Navigation
60 60
             if ($logsCount > $limit) {
61
-                include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
62
-                $pagenav = new \XoopsPageNav($logsCount, $limit, $start, 'start', 'op=list&limit=' . $limit);
61
+                include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
62
+                $pagenav = new \XoopsPageNav($logsCount, $limit, $start, 'start', 'op=list&limit='.$limit);
63 63
                 $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
64 64
             }
65 65
         } else {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $logsObj->setVar('log_submitter', Request::getInt('log_submitter', 0));
96 96
         // Insert Data
97 97
         if ($logsHandler->insert($logsObj)) {
98
-            \redirect_header('logs.php?op=list&start=' . $start . '&limit=' . $limit, 2, _AM_WGGITHUB_FORM_OK);
98
+            \redirect_header('logs.php?op=list&start='.$start.'&limit='.$limit, 2, _AM_WGGITHUB_FORM_OK);
99 99
         }
100 100
         // Get Form
101 101
         $GLOBALS['xoopsTpl']->assign('error', $logsObj->getHtmlErrors());
@@ -156,4 +156,4 @@  discard block
 block discarded – undo
156 156
         }
157 157
         break;
158 158
 }
159
-require __DIR__ . '/footer.php';
159
+require __DIR__.'/footer.php';
Please login to merge, or discard this patch.
admin/settings.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 use XoopsModules\Wggithub\Constants;
26 26
 use XoopsModules\Wggithub\Common;
27 27
 
28
-require __DIR__ . '/header.php';
28
+require __DIR__.'/header.php';
29 29
 // It recovered the value of argument op in URL$
30 30
 $op    = Request::getCmd('op', 'list');
31 31
 $setId = Request::getInt('set_id');
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
             }
60 60
             // Display Navigation
61 61
             if ($settingsCount > $limit) {
62
-                include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
63
-                $pagenav = new \XoopsPageNav($settingsCount, $limit, $start, 'start', 'op=list&limit=' . $limit);
62
+                include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
63
+                $pagenav = new \XoopsPageNav($settingsCount, $limit, $start, 'start', 'op=list&limit='.$limit);
64 64
                 $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
65 65
             }
66 66
         } else {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                 $setId = $setId > 0 ? $setId : $newSetId;
103 103
                 $settingsHandler->setPrimarySetting($setId);
104 104
             }
105
-            \redirect_header('settings.php?op=list&start=' . $start . '&limit=' . $limit, 2, _AM_WGGITHUB_FORM_OK);
105
+            \redirect_header('settings.php?op=list&start='.$start.'&limit='.$limit, 2, _AM_WGGITHUB_FORM_OK);
106 106
         }
107 107
         // Get Form
108 108
         $GLOBALS['xoopsTpl']->assign('error', $settingsObj->getHtmlErrors());
@@ -144,4 +144,4 @@  discard block
 block discarded – undo
144 144
         }
145 145
         break;
146 146
 }
147
-require __DIR__ . '/footer.php';
147
+require __DIR__.'/footer.php';
Please login to merge, or discard this patch.
admin/readmes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 use XoopsModules\Wggithub\Constants;
26 26
 use XoopsModules\Wggithub\Common;
27 27
 
28
-require __DIR__ . '/header.php';
28
+require __DIR__.'/header.php';
29 29
 // It recovered the value of argument op in URL$
30 30
 $op    = Request::getCmd('op', 'list');
31 31
 $rmId  = Request::getInt('rm_id');
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
             }
58 58
             // Display Navigation
59 59
             if ($readmesCount > $limit) {
60
-                include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
61
-                $pagenav = new \XoopsPageNav($readmesCount, $limit, $start, 'start', 'op=list&limit=' . $limit);
60
+                include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
61
+                $pagenav = new \XoopsPageNav($readmesCount, $limit, $start, 'start', 'op=list&limit='.$limit);
62 62
                 $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
63 63
             }
64 64
         } else {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $readmesObj->setVar('rm_submitter', Request::getInt('rm_submitter', 0));
98 98
         // Insert Data
99 99
         if ($readmesHandler->insert($readmesObj)) {
100
-            \redirect_header('readmes.php?op=list&start=' . $start . '&limit=' . $limit, 2, _AM_WGGITHUB_FORM_OK);
100
+            \redirect_header('readmes.php?op=list&start='.$start.'&limit='.$limit, 2, _AM_WGGITHUB_FORM_OK);
101 101
         }
102 102
         // Get Form
103 103
         $GLOBALS['xoopsTpl']->assign('error', $readmesObj->getHtmlErrors());
@@ -139,4 +139,4 @@  discard block
 block discarded – undo
139 139
         }
140 140
         break;
141 141
 }
142
-require __DIR__ . '/footer.php';
142
+require __DIR__.'/footer.php';
Please login to merge, or discard this patch.
class/RepositoriesHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
         $submitter = isset($GLOBALS['xoopsUser']) && \is_object($GLOBALS['xoopsUser']) ? $GLOBALS['xoopsUser']->getVar('uid') : 0;
141 141
         // add/update all items from table repositories
142 142
         foreach ($repos as $key => $repo) {
143
-            $fork = (bool)$repo['fork'];
143
+            $fork = (bool) $repo['fork'];
144 144
             if (Constants::DIRECTORY_CONTENT_ALL == $dirContent || false === $fork) {
145 145
                 $crRepositories = new \CriteriaCompo();
146 146
                 $crRepositories->add(new \Criteria('repo_nodeid', $repo['node_id']));
Please login to merge, or discard this patch.
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.
tests/github-api.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 use XoopsModules\Wggithub;
31 31
 use XoopsModules\Wggithub\Github;
32 32
 
33
-require __DIR__ . '/header.php';
33
+require __DIR__.'/header.php';
34 34
 // It recovered the value of argument op in URL$
35 35
 
36 36
 /*
@@ -45,46 +45,46 @@  discard block
 block discarded – undo
45 45
 
46 46
 $data = [];
47 47
 $url = '/orgs/XoopsModules25x/repos?per_page=100&page=1';
48
-echo "<br>Test read org repo:" . $url;
48
+echo "<br>Test read org repo:".$url;
49 49
 $api = new XoopsModules\Wggithub\Github\GithubClient();
50 50
 $data = $api->testMilo($url);
51 51
 $count = 0;
52 52
 foreach ($data as $key => $repo) {
53
-    echo "<br>key:" . $key . ' repo:' . $repo['name'];
53
+    echo "<br>key:".$key.' repo:'.$repo['name'];
54 54
     $count++;
55
-    if ($count>5) {break;}
55
+    if ($count > 5) {break; }
56 56
 }
57 57
 
58 58
 
59 59
 $data = [];
60 60
 $url = '/users/ggoffy/repos?per_page=100&page=1';
61
-echo "<br><br>Test read user repo:" . $url;
61
+echo "<br><br>Test read user repo:".$url;
62 62
 $api = new XoopsModules\Wggithub\Github\GithubClient();
63 63
 $data = $api->testMilo($url);
64 64
 $count = 0;
65 65
 foreach ($data as $key => $repo) {
66
-    echo "<br>key:" . $key . ' repo:' . $repo['name'];
66
+    echo "<br>key:".$key.' repo:'.$repo['name'];
67 67
     $count++;
68
-    if ($count>5) {break;}
68
+    if ($count > 5) {break; }
69 69
 }
70 70
 
71 71
 
72 72
 $data = [];
73 73
 $url = '/repos/XoopsModules25x/smallworld/readme';
74
-echo "<br><br>test read readme orgs:" . $url;
74
+echo "<br><br>test read readme orgs:".$url;
75 75
 $api = new XoopsModules\Wggithub\Github\GithubClient();
76 76
 $data = $api->testMilo($url);
77
-echo '<br>name:' . $data['name'];
78
-echo '<br>download_url:' . $data['download_url'];
77
+echo '<br>name:'.$data['name'];
78
+echo '<br>download_url:'.$data['download_url'];
79 79
 
80 80
 
81 81
 $data = [];
82 82
 $url = '/repos/ggoffy/wggithub/readme';
83
-echo "<br><br>test read readme user:" . $url;
83
+echo "<br><br>test read readme user:".$url;
84 84
 $api = new XoopsModules\Wggithub\Github\GithubClient();
85 85
 $data = $api->testMilo($url);
86
-echo '<br>name:' . $data['name'];
87
-echo '<br>download_url:' . $data['download_url'];
86
+echo '<br>name:'.$data['name'];
87
+echo '<br>download_url:'.$data['download_url'];
88 88
 
89 89
 
90 90
 echo "<br><br><br>-----------------------------------";
@@ -93,45 +93,45 @@  discard block
 block discarded – undo
93 93
 
94 94
 $data = [];
95 95
 $url = '/orgs/XoopsModules25x/repos?per_page=100&page=1';
96
-echo "<br>Test read org repo:" . $url;
96
+echo "<br>Test read org repo:".$url;
97 97
 $api = new XoopsModules\Wggithub\Github\GithubClient();
98 98
 $data = $api->testMilo2($url);
99 99
 $count = 0;
100 100
 foreach ($data as $key => $repo) {
101
-    echo "<br>key:" . $key . ' repo:' . $repo['name'];
101
+    echo "<br>key:".$key.' repo:'.$repo['name'];
102 102
     $count++;
103
-    if ($count>5) {break;}
103
+    if ($count > 5) {break; }
104 104
 }
105 105
 
106 106
 
107 107
 $data = [];
108 108
 $url = '/users/ggoffy/repos?per_page=100&page=1';
109
-echo "<br><br>Test read user repo:" . $url;
109
+echo "<br><br>Test read user repo:".$url;
110 110
 $api = new XoopsModules\Wggithub\Github\GithubClient();
111 111
 $data = $api->testMilo2($url);
112 112
 $count = 0;
113 113
 foreach ($data as $key => $repo) {
114
-    echo "<br>key:" . $key . ' repo:' . $repo['name'];
114
+    echo "<br>key:".$key.' repo:'.$repo['name'];
115 115
     $count++;
116
-    if ($count>5) {break;}
116
+    if ($count > 5) {break; }
117 117
 }
118 118
 
119 119
 
120 120
 $data = [];
121 121
 $url = '/repos/XoopsModules25x/smallworld/readme';
122
-echo "<br><br>test read readme orgs:" . $url;
122
+echo "<br><br>test read readme orgs:".$url;
123 123
 $api = new XoopsModules\Wggithub\Github\GithubClient();
124 124
 $data = $api->testMilo2($url);
125
-echo '<br>name:' . $data['name'];
126
-echo '<br>download_url:' . $data['download_url'];
125
+echo '<br>name:'.$data['name'];
126
+echo '<br>download_url:'.$data['download_url'];
127 127
 
128 128
 
129 129
 $data = [];
130 130
 $url = '/repos/ggoffy/wggithub/readme';
131
-echo "<br><br>test read readme user:" . $url;
131
+echo "<br><br>test read readme user:".$url;
132 132
 $api = new XoopsModules\Wggithub\Github\GithubClient();
133 133
 $data = $api->testMilo2($url);
134
-echo '<br>name:' . $data['name'];
135
-echo '<br>download_url:' . $data['download_url'];
134
+echo '<br>name:'.$data['name'];
135
+echo '<br>download_url:'.$data['download_url'];
136 136
 
137 137
 
Please login to merge, or discard this patch.
tests/test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
     Github\GithubClient
29 29
 };
30 30
 
31
-require __DIR__ . '/header.php';
31
+require __DIR__.'/header.php';
32 32
 $GLOBALS['xoopsOption']['template_main'] = 'wggithub_index.tpl';
33
-include_once \XOOPS_ROOT_PATH . '/header.php';
33
+include_once \XOOPS_ROOT_PATH.'/header.php';
34 34
 // Define Stylesheet
35 35
 $GLOBALS['xoTheme']->addStylesheet($style, null);
36 36
 $keywords = [];
@@ -166,4 +166,4 @@  discard block
 block discarded – undo
166 166
 var_dump($result);
167 167
 */
168 168
 
169
-require __DIR__ . '/footer.php';
169
+require __DIR__.'/footer.php';
Please login to merge, or discard this patch.
index.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -28,15 +28,15 @@  discard block
 block discarded – undo
28 28
     Github\GithubClient
29 29
 };
30 30
 
31
-require __DIR__ . '/header.php';
31
+require __DIR__.'/header.php';
32 32
 $GLOBALS['xoopsOption']['template_main'] = 'wggithub_index.tpl';
33
-include_once \XOOPS_ROOT_PATH . '/header.php';
33
+include_once \XOOPS_ROOT_PATH.'/header.php';
34 34
 
35 35
 // Permissions
36 36
 $permGlobalView = $permissionsHandler->getPermGlobalView();
37 37
 if (!$permGlobalView) {
38 38
     $GLOBALS['xoopsTpl']->assign('error', _NOPERM);
39
-    require __DIR__ . '/footer.php';
39
+    require __DIR__.'/footer.php';
40 40
 }
41 41
 $permGlobalRead   = $permissionsHandler->getPermGlobalRead();
42 42
 $permReadmeUpdate = $permissionsHandler->getPermReadmeUpdate();
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 // Define Stylesheet
52 52
 $GLOBALS['xoTheme']->addStylesheet($style, null);
53
-$GLOBALS['xoTheme']->addStylesheet(WGGITHUB_URL . '/assets/css/tabs.css', null);
53
+$GLOBALS['xoTheme']->addStylesheet(WGGITHUB_URL.'/assets/css/tabs.css', null);
54 54
 $keywords = [];
55 55
 // 
56 56
 $GLOBALS['xoopsTpl']->assign('xoops_icons32_url', XOOPS_ICONS32_URL);
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             foreach (\array_keys($directoriesAll) as $i) {
128 128
                 $directories[$i] = $directoriesAll[$i]->getValuesDirectories();
129 129
                 $dirName = $directoriesAll[$i]->getVar('dir_name');
130
-                $dirFilterRelease = (bool)$directoriesAll[$i]->getVar('dir_filterrelease');
130
+                $dirFilterRelease = (bool) $directoriesAll[$i]->getVar('dir_filterrelease');
131 131
                 $repos = [];
132 132
                 $crRepositories = new \CriteriaCompo();
133 133
                 //first block/parentheses
@@ -202,9 +202,9 @@  discard block
 block discarded – undo
202 202
                 }
203 203
                 $directories[$i]['repos'] = $repos;
204 204
                 $directories[$i]['previousRepos'] = $start > 0;
205
-                $directories[$i]['previousOp'] = '&amp;start=' . ($start - $limit) . '&amp;limit=' . $limit . '&amp;release=' . $filterRelease . '&amp;sortby=' . $filterSortby;
205
+                $directories[$i]['previousOp'] = '&amp;start='.($start - $limit).'&amp;limit='.$limit.'&amp;release='.$filterRelease.'&amp;sortby='.$filterSortby;
206 206
                 $directories[$i]['nextRepos'] = ($repositoriesCount - $start) > $limit;
207
-                $directories[$i]['nextOp'] = '&amp;start=' . ($start + $limit) . '&amp;limit=' . $limit . '&amp;release=' . $filterRelease . '&amp;sortby=' . $filterSortby;
207
+                $directories[$i]['nextOp'] = '&amp;start='.($start + $limit).'&amp;limit='.$limit.'&amp;release='.$filterRelease.'&amp;sortby='.$filterSortby;
208 208
                 $GLOBALS['xoopsTpl']->assign('start', $start);
209 209
                 $GLOBALS['xoopsTpl']->assign('limit', $limit);
210 210
                 $GLOBALS['xoopsTpl']->assign('menu', $menu);
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
             unset($crDirectories, $directories);
215 215
             // Display Navigation
216 216
             if ($directoriesCount > $limit) {
217
-                require_once \XOOPS_ROOT_PATH . '/class/pagenav.php';
218
-                $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit=' . $limit);
217
+                require_once \XOOPS_ROOT_PATH.'/class/pagenav.php';
218
+                $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit='.$limit);
219 219
                 $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
220 220
             }
221 221
             $GLOBALS['xoopsTpl']->assign('lang_thereare', \sprintf(\_MA_WGGITHUB_INDEX_THEREARE, $directoriesCount));
@@ -228,12 +228,12 @@  discard block
 block discarded – undo
228 228
         // Permissions
229 229
         if (!$permGlobalRead) {
230 230
             $GLOBALS['xoopsTpl']->assign('error', \_NOPERM);
231
-            require __DIR__ . '/footer.php';
231
+            require __DIR__.'/footer.php';
232 232
         }
233 233
         $dirName = Request::getString('dir_name', '');
234 234
         $start   = 0; //reset to default
235 235
         $limit   = Request::getInt('limit', $helper->getConfig('userpager'));
236
-        $redir   = 'index.php?op=list_afterupdate&amp;start=' . $start . '&amp;limit=' . $limit . '&amp;release=' . $filterRelease . '&amp;sortby=' . $filterSortby;
236
+        $redir   = 'index.php?op=list_afterupdate&amp;start='.$start.'&amp;limit='.$limit.'&amp;release='.$filterRelease.'&amp;sortby='.$filterSortby;
237 237
         $githubClient = GithubClient::getInstance();
238 238
         $result = $githubClient->executeUpdate($dirName);
239 239
         if ($result) {
@@ -247,14 +247,14 @@  discard block
 block discarded – undo
247 247
         // Permissions
248 248
         if (!$permReadmeUpdate) {
249 249
             $GLOBALS['xoopsTpl']->assign('error', \_NOPERM);
250
-            require __DIR__ . '/footer.php';
250
+            require __DIR__.'/footer.php';
251 251
         }
252 252
         $start    = 0; //reset to default
253 253
         $limit    = Request::getInt('limit', $helper->getConfig('userpager'));
254 254
         $repoId   = Request::getInt('repo_id', 0);
255 255
         $repoUser = Request::getString('repo_user', 'none');
256 256
         $repoName = Request::getString('repo_name', 'none');
257
-        $redir    = 'index.php?op=list_afterupdate&amp;start=' . $start . '&amp;limit=' . $limit . '&amp;release=' . $filterRelease . '&amp;sortby=' . $filterSortby;
257
+        $redir    = 'index.php?op=list_afterupdate&amp;start='.$start.'&amp;limit='.$limit.'&amp;release='.$filterRelease.'&amp;sortby='.$filterSortby;
258 258
         $result = $helper->getHandler('Readmes')->updateReadmes($repoId, $repoUser, $repoName);
259 259
         if ($result) {
260 260
             \redirect_header($redir, 2, \_MA_WGGITHUB_READGH_SUCCESS);
@@ -268,11 +268,11 @@  discard block
 block discarded – undo
268 268
 // Breadcrumbs
269 269
 $xoBreadcrumbs[] = ['title' => \_MA_WGGITHUB_INDEX];
270 270
 // Keywords
271
-wggithubMetaKeywords($helper->getConfig('keywords') . ', ' . \implode(',', $keywords));
271
+wggithubMetaKeywords($helper->getConfig('keywords').', '.\implode(',', $keywords));
272 272
 unset($keywords);
273 273
 // Description
274 274
 wggithubMetaDescription(\_MA_WGGITHUB_INDEX_DESC);
275 275
 $GLOBALS['xoopsTpl']->assign('xoops_mpageurl', WGGITHUB_URL.'/index.php');
276 276
 $GLOBALS['xoopsTpl']->assign('xoops_icons32_url', XOOPS_ICONS32_URL);
277 277
 $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL);
278
-require __DIR__ . '/footer.php';
278
+require __DIR__.'/footer.php';
Please login to merge, or discard this patch.