Completed
Push — master ( f3a778...2db310 )
by Mark
15s
created
_test/syntax_include_deep.test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         global $conf;
34 34
         $conf['allowdebug'] = 1;
35 35
 
36
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
36
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
37 37
 
38 38
         dbglog("\nset up class syntax_plugin_backlinks_test");
39 39
     }
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
 
53 53
         $verbose = false;
54 54
         $force   = false;
55
-        foreach($data as $val) {
55
+        foreach ($data as $val) {
56 56
             idx_addPage($val['id'], $verbose, $force);
57 57
         }
58 58
 
59
-        if($conf['allowdebug']) {
60
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
59
+        if ($conf['allowdebug']) {
60
+            touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
63 63
 
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
 
67 67
         global $conf;
68 68
         // try to get the debug log after running the test, print and clear
69
-        if($conf['allowdebug']) {
69
+        if ($conf['allowdebug']) {
70 70
             print "\n";
71
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
72
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
71
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
72
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
73 73
         }
74 74
     }
75 75
 
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
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * Simple test to make sure the plugin.info.txt is in correct format
30 30
      */
31 31
     public function test_plugininfo(): void {
32
-        $file = __DIR__ . '/../plugin.info.txt';
32
+        $file = __DIR__.'/../plugin.info.txt';
33 33
         $this->assertFileExists($file);
34 34
 
35 35
         $info = confToHash($file);
Please login to merge, or discard this patch.
_test/syntax.test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         global $conf;
34 34
         $conf['allowdebug'] = 1;
35 35
 
36
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
36
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
37 37
 
38 38
         dbglog("\nset up class syntax_plugin_backlinks_test");
39 39
     }
@@ -52,14 +52,14 @@  discard block
 block discarded – undo
52 52
 
53 53
         $verbose = false;
54 54
         $force   = false;
55
-        foreach($data as $val) {
55
+        foreach ($data as $val) {
56 56
             idx_addPage($val['id'], $verbose, $force);
57 57
         }
58 58
         //idx_addPage('bob_ross_says', $verbose, $force);
59 59
         //idx_addPage('link', $verbose, $force);
60 60
         //idx_addPage('backlinks_syntax', $verbose, $force);
61
-        if($conf['allowdebug']) {
62
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
61
+        if ($conf['allowdebug']) {
62
+            touch(DOKU_TMP_DATA.'cache/debug.log');
63 63
         }
64 64
     }
65 65
 
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
 
69 69
         global $conf;
70 70
         // try to get the debug log after running the test, print and clear
71
-        if($conf['allowdebug']) {
71
+        if ($conf['allowdebug']) {
72 72
             print "\n";
73
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
74
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
73
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
74
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
75 75
         }
76 76
     }
77 77
 
Please login to merge, or discard this patch.
_test/syntax_exclude.test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         global $conf;
34 34
         $conf['allowdebug'] = 1;
35 35
 
36
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
36
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
37 37
 
38 38
         dbglog("\nset up class syntax_plugin_backlinks_test");
39 39
     }
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
 
53 53
         $verbose = false;
54 54
         $force   = false;
55
-        foreach($data as $val) {
55
+        foreach ($data as $val) {
56 56
             idx_addPage($val['id'], $verbose, $force);
57 57
         }
58 58
 
59
-        if($conf['allowdebug']) {
60
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
59
+        if ($conf['allowdebug']) {
60
+            touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
63 63
 
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
 
67 67
         global $conf;
68 68
         // try to get the debug log after running the test, print and clear
69
-        if($conf['allowdebug']) {
69
+        if ($conf['allowdebug']) {
70 70
             print "\n";
71
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
72
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
71
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
72
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
73 73
         }
74 74
     }
75 75
 
Please login to merge, or discard this patch.
_test/syntax_include.test.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         global $conf;
34 34
         $conf['allowdebug'] = 1;
35 35
 
36
-        TestUtils::rcopy(TMP_DIR, dirname(__FILE__) . '/data/');
36
+        TestUtils::rcopy(TMP_DIR, dirname(__FILE__).'/data/');
37 37
 
38 38
         dbglog("\nset up class syntax_plugin_backlinks_test");
39 39
     }
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
 
53 53
         $verbose = false;
54 54
         $force   = false;
55
-        foreach($data as $val) {
55
+        foreach ($data as $val) {
56 56
             idx_addPage($val['id'], $verbose, $force);
57 57
         }
58 58
 
59
-        if($conf['allowdebug']) {
60
-            touch(DOKU_TMP_DATA . 'cache/debug.log');
59
+        if ($conf['allowdebug']) {
60
+            touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
63 63
 
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
 
67 67
         global $conf;
68 68
         // try to get the debug log after running the test, print and clear
69
-        if($conf['allowdebug']) {
69
+        if ($conf['allowdebug']) {
70 70
             print "\n";
71
-            readfile(DOKU_TMP_DATA . 'cache/debug.log');
72
-            unlink(DOKU_TMP_DATA . 'cache/debug.log');
71
+            readfile(DOKU_TMP_DATA.'cache/debug.log');
72
+            unlink(DOKU_TMP_DATA.'cache/debug.log');
73 73
         }
74 74
     }
75 75
 
Please login to merge, or discard this patch.
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
             dbglog($backlinks, "backlinks: all backlinks to: $match");
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.