Completed
Branch master (635971)
by Mark
02:21
created
_test/syntax_include_deep.test.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                             5,
104 104
                             $wikilinks->contents()->length,
105 105
                             'There should be 5 backlinks'
106
-                           );
106
+                            );
107 107
 
108 108
         $lastlink = pq('a:last', $wikilinks);
109 109
         dbglog($lastlink->text(), "last backlink");
@@ -111,6 +111,6 @@  discard block
 block discarded – undo
111 111
                             $lastlink->text(),
112 112
                             'linking to a namespace',
113 113
                             'The last backlink should be "linking to a namespace"'
114
-                           );
114
+                            );
115 115
     }
116 116
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@
 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']) {
59
+        if ($conf['allowdebug']) {
60 60
             touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
Please login to merge, or discard this patch.
syntax.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,9 @@
 block discarded – undo
132 132
 
133 133
                 foreach ($backlinks as $backlink) {
134 134
                     $name = p_get_metadata($backlink, 'title');
135
-                    if (empty($name)) $name = $backlink;
135
+                    if (empty($name)) {
136
+                        $name = $backlink;
137
+                    }
136 138
                     $renderer->doc .= '<li><div class="li">';
137 139
                     $renderer->doc .= html_wikilink(':'.$backlink, $name);
138 140
                     $renderer->doc .= '</div></li>'.DW_LF;
Please login to merge, or discard this patch.
_test/syntax_include.test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@
 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']) {
59
+        if ($conf['allowdebug']) {
60 60
             touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
Please login to merge, or discard this patch.
_test/syntax_exclude.test.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
                             5,
104 104
                             $wikilinks->contents()->length,
105 105
                             'There should be 5 backlinks'
106
-                           );
106
+                            );
107 107
 
108 108
         $lastlink = pq('a:last', $wikilinks);
109 109
         dbglog($lastlink->text(), "last backlink");
@@ -111,6 +111,6 @@  discard block
 block discarded – undo
111 111
                             $lastlink->text(),
112 112
                             'linking to a namespace',
113 113
                             'The last backlink should be "linking to a namespace"'
114
-                           );
114
+                            );
115 115
     }
116 116
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,11 +52,11 @@
 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']) {
59
+        if ($conf['allowdebug']) {
60 60
             touch(DOKU_TMP_DATA.'cache/debug.log');
61 61
         }
62 62
     }
Please login to merge, or discard this patch.