Completed
Pull Request — master (#624)
by Michael
24:05
created
htdocs/modules/xlanguage/class/helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
      */
28 28
     public function init()
29 29
     {
30
-        if (XoopsLoad::fileExists($hnd_file = \XoopsBaseConfig::get('root-path') . '/modules/xlanguage/include/vars.php')) {
30
+        if (XoopsLoad::fileExists($hnd_file = \XoopsBaseConfig::get('root-path').'/modules/xlanguage/include/vars.php')) {
31 31
             include_once $hnd_file;
32 32
         }
33 33
 
34
-        if (XoopsLoad::fileExists($hnd_file = \XoopsBaseConfig::get('root-path') . '/modules/xlanguage/include/functions.php')) {
34
+        if (XoopsLoad::fileExists($hnd_file = \XoopsBaseConfig::get('root-path').'/modules/xlanguage/include/functions.php')) {
35 35
             include_once $hnd_file;
36 36
         }
37 37
         $this->setDirname('xlanguage');
Please login to merge, or discard this patch.
htdocs/modules/codex/pdf.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @author    trabis <[email protected]>
19 19
  */
20 20
 
21
-include dirname(dirname(__DIR__)) . '/mainfile.php';
21
+include dirname(dirname(__DIR__)).'/mainfile.php';
22 22
 
23 23
 $xoops = Xoops::getInstance();
24 24
 
Please login to merge, or discard this patch.
htdocs/modules/codex/system-plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * @author          trabis <[email protected]>
16 16
  */
17 17
 
18
-include dirname(dirname(__DIR__)) . '/mainfile.php';
18
+include dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20 20
 $xoops = Xoops::getInstance();
21 21
 $xoops->header();
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
 See how Codex module hooks into the system module just by using this codex/class/plugin/system.php
27 27
 ";
28 28
 
29
-\Xoops\Utils::dumpFile(__DIR__ . '/class/plugin/system.php');
29
+\Xoops\Utils::dumpFile(__DIR__.'/class/plugin/system.php');
30 30
 $xoops->footer();
Please login to merge, or discard this patch.
htdocs/modules/codex/form-element-factory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
  * @author    trabis <[email protected]>
19 19
  */
20 20
 
21
-include dirname(dirname(__DIR__)) . '/mainfile.php';
21
+include dirname(dirname(__DIR__)).'/mainfile.php';
22 22
 
23 23
 $xoops = Xoops::getInstance();
24 24
 $xoops->header();
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     'caption' => 'Sub Cat',
160 160
     'name' => 'select_subcat',
161 161
     'size' => 5,
162
-    'value' => [2,4,6],
162
+    'value' => [2, 4, 6],
163 163
     'option' => [
164 164
         1 => 'Sub 1',
165 165
         2 => 'Sub 2',
Please login to merge, or discard this patch.
htdocs/modules/codex/menus-plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * @author    trabis <[email protected]>
16 16
  */
17 17
 
18
-include dirname(dirname(__DIR__)) . '/mainfile.php';
18
+include dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20 20
 $xoops = Xoops::getInstance();
21 21
 $xoops->header();
@@ -28,5 +28,5 @@  discard block
 block discarded – undo
28 28
 See how Codex module hooks into the menus module just by using this codex/class/plugin/menus.php
29 29
 ";
30 30
 
31
-\Xoops\Utils::dumpFile(__DIR__ . '/class/plugin/menus.php');
31
+\Xoops\Utils::dumpFile(__DIR__.'/class/plugin/menus.php');
32 32
 $xoops->footer();
Please login to merge, or discard this patch.
htdocs/modules/codex/module-helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  * @author    trabis <[email protected]>
16 16
  */
17 17
 
18
-include dirname(dirname(__DIR__)) . '/mainfile.php';
18
+include dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20 20
 $xoops = Xoops::getInstance();
21 21
 $xoops->header();
Please login to merge, or discard this patch.
htdocs/modules/codex/thumbnail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
  * @link      http://xoops.org
17 17
  */
18 18
 
19
-include dirname(dirname(__DIR__)) . '/mainfile.php';
19
+include dirname(dirname(__DIR__)).'/mainfile.php';
20 20
 
21 21
 $xoops = Xoops::getInstance();
22 22
 $xoops->header();
Please login to merge, or discard this patch.
htdocs/modules/codex/backend.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * @author    Laurent JEN (aka DuGris)
16 16
  */
17 17
 
18
-include dirname(dirname(__DIR__)) . '/mainfile.php';
18
+include dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20 20
 $xoops = Xoops::getInstance();
21 21
 $xoops->header();
@@ -31,5 +31,5 @@  discard block
 block discarded – undo
31 31
 </ul>
32 32
 ";
33 33
 
34
-\Xoops\Utils::dumpFile(__DIR__ . '/class/plugin/system.php');
34
+\Xoops\Utils::dumpFile(__DIR__.'/class/plugin/system.php');
35 35
 $xoops->footer();
Please login to merge, or discard this patch.
htdocs/modules/codex/userconfigs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
  * @author    trabis <[email protected]>
16 16
  */
17 17
 
18
-include dirname(dirname(__DIR__)) . '/mainfile.php';
18
+include dirname(dirname(__DIR__)).'/mainfile.php';
19 19
 
20 20
 $xoops = Xoops::getInstance();
21 21
 $xoops->header();
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     $configs = $config_handler->getConfigsByUser($xoops->user->getVar('uid'), $xoops->module->getVar('mid'));
27 27
     \Xoops\Utils::dumpVar($configs);
28 28
     $url = $xoops->url('modules/userconfigs');
29
-    echo '<a href="' . $url . '">Change your settings</a>';
29
+    echo '<a href="'.$url.'">Change your settings</a>';
30 30
 } else {
31 31
     echo 'Please login and install userconfigs module';
32 32
 }
Please login to merge, or discard this patch.