Completed
Pull Request — master (#46)
by Mark
17s
created
syntax.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
             Logger::debug("backlinks: all backlinks to: $match", $backlinks);
110 110
 
111
-            $renderer->doc .= '<div id="plugin__backlinks">' . "\n";
111
+            $renderer->doc .= '<div id="plugin__backlinks">'."\n";
112 112
 
113 113
             $filterNS = $data[1];
114 114
             if (!empty($backlinks) && !empty($filterNS)) {
@@ -139,16 +139,16 @@  discard block
 block discarded – undo
139 139
                         $name = $backlink;
140 140
                     }
141 141
                     $renderer->doc .= '<li><div class="li">';
142
-                    $renderer->doc .= html_wikilink(':' . $backlink, $name);
143
-                    $renderer->doc .= '</div></li>' . "\n";
142
+                    $renderer->doc .= html_wikilink(':'.$backlink, $name);
143
+                    $renderer->doc .= '</div></li>'."\n";
144 144
                 }
145 145
 
146
-                $renderer->doc .= '</ul>' . "\n";
146
+                $renderer->doc .= '</ul>'."\n";
147 147
             } else {
148
-                $renderer->doc .= "<strong>Plugin Backlinks: " . $lang['nothingfound'] . "</strong>" . "\n";
148
+                $renderer->doc .= "<strong>Plugin Backlinks: ".$lang['nothingfound']."</strong>"."\n";
149 149
             }
150 150
 
151
-            $renderer->doc .= '</div>' . "\n";
151
+            $renderer->doc .= '</div>'."\n";
152 152
 
153 153
             return true;
154 154
         }
Please login to merge, or discard this patch.
_test/syntax_exclude.test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         global $conf;
38 38
         $conf['allowdebug'] = 1;
39 39
 
40
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
40
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
41 41
 
42 42
         Logger::debug("set up class syntax_plugin_backlinks_test");
43 43
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
 
62 62
         if ($conf['allowdebug']) {
63
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
63
+            touch(DOKU_TMP_DATA.'cache/debug.log');
64 64
         }
65 65
     }
66 66
 
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         // try to get the debug log after running the test, print and clear
73 73
         if ($conf['allowdebug']) {
74 74
             print "\n";
75
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
76
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
75
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
76
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
77 77
         }
78 78
     }
79 79
 
Please login to merge, or discard this patch.
_test/syntax.test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         global $conf;
38 38
         $conf['allowdebug'] = 1;
39 39
 
40
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
40
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
41 41
 
42 42
         Logger::debug("set up class syntax_plugin_backlinks_test");
43 43
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         //idx_addPage('link', $verbose, $force);
63 63
         //idx_addPage('backlinks_syntax', $verbose, $force);
64 64
         if ($conf['allowdebug']) {
65
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
65
+            touch(DOKU_TMP_DATA.'cache/debug.log');
66 66
         }
67 67
     }
68 68
 
@@ -74,8 +74,8 @@  discard block
 block discarded – undo
74 74
         // try to get the debug log after running the test, print and clear
75 75
         if ($conf['allowdebug']) {
76 76
             print "\n";
77
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
78
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
77
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
78
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
79 79
         }
80 80
     }
81 81
 
Please login to merge, or discard this patch.
_test/general.test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
      */
32 32
     public function testPluginInfo(): void
33 33
     {
34
-        $file = __DIR__ . '/../plugin.info.txt';
34
+        $file = __DIR__.'/../plugin.info.txt';
35 35
         $this->assertFileExists($file);
36 36
 
37 37
         $info = confToHash($file);
Please login to merge, or discard this patch.
_test/syntax_include_deep.test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         global $conf;
38 38
         $conf['allowdebug'] = 1;
39 39
 
40
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
40
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
41 41
 
42 42
         dbglog("\nset up class syntax_plugin_backlinks_test");
43 43
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
 
62 62
         if ($conf['allowdebug']) {
63
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
63
+            touch(DOKU_TMP_DATA.'cache/debug.log');
64 64
         }
65 65
     }
66 66
 
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         // try to get the debug log after running the test, print and clear
73 73
         if ($conf['allowdebug']) {
74 74
             print "\n";
75
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
76
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
75
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
76
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
77 77
         }
78 78
     }
79 79
 
Please login to merge, or discard this patch.
_test/syntax_include.test.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         global $conf;
38 38
         $conf['allowdebug'] = 1;
39 39
 
40
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
40
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
41 41
 
42 42
         Logger::debug("set up class syntax_plugin_backlinks_test");
43 43
     }
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
 
62 62
         if ($conf['allowdebug']) {
63
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
63
+            touch(DOKU_TMP_DATA.'cache/debug.log');
64 64
         }
65 65
     }
66 66
 
@@ -72,8 +72,8 @@  discard block
 block discarded – undo
72 72
         // try to get the debug log after running the test, print and clear
73 73
         if ($conf['allowdebug']) {
74 74
             print "\n";
75
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
76
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
75
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
76
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
77 77
         }
78 78
     }
79 79
 
Please login to merge, or discard this patch.