Passed
Push — master ( 834a16...1c3825 )
by Goffy
09:06 queued 04:27
created
preloads/core.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
      */
28 28
     public static function eventCoreIncludeCommonEnd($args)
29 29
     {
30
-        include __DIR__ . '/autoloader.php';
30
+        include __DIR__.'/autoloader.php';
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
config/paths.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@
 block discarded – undo
6 6
     $moduleDirNameUpper = mb_strtoupper($moduleDirName);
7 7
 
8 8
     return (object)[
9
-        'name'          => mb_strtoupper($moduleDirName) . ' PathConfigurator',
9
+        'name'          => mb_strtoupper($moduleDirName).' PathConfigurator',
10 10
         'paths'         => [
11 11
             'dirname'    => $moduleDirName,
12
-            'admin'      => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/admin',
13
-            'modPath'    => XOOPS_ROOT_PATH . '/modules/' . $moduleDirName,
14
-            'modUrl'     => XOOPS_URL . '/modules/' . $moduleDirName,
15
-            'uploadPath' => XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
16
-            'uploadUrl'  => XOOPS_UPLOAD_URL . '/' . $moduleDirName,
12
+            'admin'      => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName.'/admin',
13
+            'modPath'    => XOOPS_ROOT_PATH.'/modules/'.$moduleDirName,
14
+            'modUrl'     => XOOPS_URL.'/modules/'.$moduleDirName,
15
+            'uploadPath' => XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
16
+            'uploadUrl'  => XOOPS_UPLOAD_URL.'/'.$moduleDirName,
17 17
         ],
18 18
         'uploadFolders' => [
19
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName,
20
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/category',
21
-            XOOPS_UPLOAD_PATH . '/' . $moduleDirName . '/screenshots',
19
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName,
20
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/category',
21
+            XOOPS_UPLOAD_PATH.'/'.$moduleDirName.'/screenshots',
22 22
             //XOOPS_UPLOAD_PATH . '/flags'
23 23
         ],
24 24
     ];
Please login to merge, or discard this patch.
class/Files/CreateStructure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,9 +213,9 @@
 block discarded – undo
213 213
         $this->setFolderName($folderName);
214 214
         if ($fileName) {
215 215
             $this->setFileName($fileName);
216
-            $ret = $this->getUploadPath() . DS . $this->getModuleName() . DS . $this->getFolderName() . DS . $this->getFileName();
216
+            $ret = $this->getUploadPath().DS.$this->getModuleName().DS.$this->getFolderName().DS.$this->getFileName();
217 217
         } else {
218
-            $ret = $this->getUploadPath() . DS . $this->getModuleName() . DS . $this->getFolderName();
218
+            $ret = $this->getUploadPath().DS.$this->getModuleName().DS.$this->getFolderName();
219 219
         }
220 220
 
221 221
         return $ret;
Please login to merge, or discard this patch.
class/Files/CreateMoreFiles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     {
75 75
         $this->setModule($module);
76 76
         $this->extension = $extension;
77
-        $this->setFileName($filename . '.' . $extension);
77
+        $this->setFileName($filename.'.'.$extension);
78 78
         if (false !== mb_strpos($folder, 'user')) {
79 79
             $this->folder = '/';
80 80
         } else {
Please login to merge, or discard this patch.
class/Common/Breadcrumb.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         require $GLOBALS['xoops']->path('class/template.php');
72 72
         $breadcrumbTpl = new \XoopsTpl();
73 73
         $breadcrumbTpl->assign('breadcrumb', $this->bread);
74
-        $html = $breadcrumbTpl->fetch('db:' . $this->dirname . '_common_breadcrumb.tpl');
74
+        $html = $breadcrumbTpl->fetch('db:'.$this->dirname.'_common_breadcrumb.tpl');
75 75
         unset($breadcrumbTpl);
76 76
 
77 77
         return $html;
Please login to merge, or discard this patch.
language/english/feedback.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -23,21 +23,21 @@
 block discarded – undo
23 23
 $moduleDirName      = basename(dirname(dirname(__DIR__)));
24 24
 $moduleDirNameUpper = mb_strtoupper($moduleDirName);
25 25
 
26
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_FORM_TITLE', 'Send a feedback');
27
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_RECIPIENT', 'Recipient');
28
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_NAME', 'Name');
29
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_NAME_PLACEHOLER', 'Please enter your name');
30
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_SITE', 'Website');
31
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_SITE_PLACEHOLER', 'Please enter your website');
32
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_MAIL', 'Email');
33
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_MAIL_PLACEHOLER', 'Please enter your email');
34
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE', 'Type of feedback');
35
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_SUGGESTION', 'Suggestions');
36
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_BUGS', 'Bugs');
37
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_TESTIMONIAL', 'Testimonials');
38
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_FEATURES', 'Features');
39
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_OTHERS', 'Misc');
40
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_TYPE_CONTENT', 'Feedback content');
41
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_SEND_FOR', 'Feedback for module ');
42
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_SEND_SUCCESS', 'Feedback successfully sent');
43
-define('CO_' . $moduleDirNameUpper . '_' . 'FB_SEND_ERROR', 'An errror occured when feedback was sent!');
26
+define('CO_'.$moduleDirNameUpper.'_'.'FB_FORM_TITLE', 'Send a feedback');
27
+define('CO_'.$moduleDirNameUpper.'_'.'FB_RECIPIENT', 'Recipient');
28
+define('CO_'.$moduleDirNameUpper.'_'.'FB_NAME', 'Name');
29
+define('CO_'.$moduleDirNameUpper.'_'.'FB_NAME_PLACEHOLER', 'Please enter your name');
30
+define('CO_'.$moduleDirNameUpper.'_'.'FB_SITE', 'Website');
31
+define('CO_'.$moduleDirNameUpper.'_'.'FB_SITE_PLACEHOLER', 'Please enter your website');
32
+define('CO_'.$moduleDirNameUpper.'_'.'FB_MAIL', 'Email');
33
+define('CO_'.$moduleDirNameUpper.'_'.'FB_MAIL_PLACEHOLER', 'Please enter your email');
34
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE', 'Type of feedback');
35
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_SUGGESTION', 'Suggestions');
36
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_BUGS', 'Bugs');
37
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_TESTIMONIAL', 'Testimonials');
38
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_FEATURES', 'Features');
39
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_OTHERS', 'Misc');
40
+define('CO_'.$moduleDirNameUpper.'_'.'FB_TYPE_CONTENT', 'Feedback content');
41
+define('CO_'.$moduleDirNameUpper.'_'.'FB_SEND_FOR', 'Feedback for module ');
42
+define('CO_'.$moduleDirNameUpper.'_'.'FB_SEND_SUCCESS', 'Feedback successfully sent');
43
+define('CO_'.$moduleDirNameUpper.'_'.'FB_SEND_ERROR', 'An errror occured when feedback was sent!');
Please login to merge, or discard this patch.
admin/addfiles.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
  */
24 24
 $GLOBALS['xoopsOption']['template_main'] = 'tdmcreate_addfiles.tpl';
25 25
 
26
-include __DIR__ . '/header.php';
26
+include __DIR__.'/header.php';
27 27
 // Recovered value of argument op in the URL $
28 28
 $op = \Xmf\Request::getString('op', 'list');
29 29
 
@@ -60,8 +60,8 @@  discard block
 block discarded – undo
60 60
                 unset($files);
61 61
             }
62 62
             if ($addfilesCount > $limit) {
63
-                include_once XOOPS_ROOT_PATH . '/class/pagenav.php';
64
-                $pagenav = new \XoopsPageNav($addfilesCount, $limit, $start, 'start', 'op=list&limit=' . $limit);
63
+                include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
64
+                $pagenav = new \XoopsPageNav($addfilesCount, $limit, $start, 'start', 'op=list&limit='.$limit);
65 65
                 $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4));
66 66
             }
67 67
         } else {
@@ -139,4 +139,4 @@  discard block
 block discarded – undo
139 139
         break;
140 140
 }
141 141
 
142
-include __DIR__ . '/footer.php';
142
+include __DIR__.'/footer.php';
Please login to merge, or discard this patch.
admin/about.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
  *
20 20
  * @author          Txmod Xoops http://www.txmodxoops.org
21 21
  */
22
-include __DIR__ . '/header.php';
22
+include __DIR__.'/header.php';
23 23
 
24 24
 $adminObject->displayNavigation(basename(__FILE__));
25 25
 $adminObject::setPaypal('[email protected]');
26 26
 $adminObject->displayAbout(false);
27 27
 
28
-include __DIR__ . '/footer.php';
28
+include __DIR__.'/footer.php';
Please login to merge, or discard this patch.
class/helper0.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
             return false;
125 125
         }
126
-        $this->addLog("Getting config '{$name}' : " . $this->config[$name]);
126
+        $this->addLog("Getting config '{$name}' : ".$this->config[$name]);
127 127
 
128 128
         return $this->config[$name];
129 129
     }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
             $this->initConfig();
147 147
         }
148 148
         $this->config[$name] = $value;
149
-        $this->addLog("Setting config '{$name}' : " . $this->config[$name]);
149
+        $this->addLog("Setting config '{$name}' : ".$this->config[$name]);
150 150
 
151 151
         return $this->config[$name];
152 152
     }
@@ -163,12 +163,12 @@  discard block
 block discarded – undo
163 163
      */
164 164
     public function &getHandler($name)
165 165
     {
166
-        if (!isset($this->handler[$name . 'Handler'])) {
166
+        if (!isset($this->handler[$name.'Handler'])) {
167 167
             $this->initHandler($name);
168 168
         }
169 169
         $this->addLog("Getting handler '{$name}'");
170 170
 
171
-        return $this->handler[$name . 'Handler'];
171
+        return $this->handler[$name.'Handler'];
172 172
     }
173 173
 
174 174
     /*
@@ -208,8 +208,8 @@  discard block
 block discarded – undo
208 208
      */
209 209
     public function initHandler($name)
210 210
     {
211
-        $this->addLog('INIT ' . $name . ' HANDLER');
212
-        $this->handler[$name . 'Handler'] = xoops_getModuleHandler($name, $this->dirname);
211
+        $this->addLog('INIT '.$name.' HANDLER');
212
+        $this->handler[$name.'Handler'] = xoops_getModuleHandler($name, $this->dirname);
213 213
     }
214 214
 
215 215
     /*
Please login to merge, or discard this patch.