Completed
Push — master ( 9f0bc4...399b3a )
by Mark
02:37
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.
_test/syntax.test.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
                             1,
89 89
                             pq('#plugin__backlinks', $doc)->length,
90 90
                             'There should be one backlinks element'
91
-                           );
91
+                            );
92 92
 
93 93
         $wikilinks = pq('#plugin__backlinks ul li', $doc);
94 94
         dbglog($wikilinks->text(), 'found backlinks');
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
                             1,
97 97
                             $wikilinks->contents()->length,
98 98
                             'There should be 1 backlink'
99
-                           );
99
+                            );
100 100
 
101 101
         $lastlink = pq('a:last',$wikilinks);
102 102
         dbglog($lastlink->text(),"last backlink");
@@ -104,6 +104,6 @@  discard block
 block discarded – undo
104 104
                             $lastlink->text(),
105 105
                             'An included link to Bob Ross',
106 106
                             'The last backlink should be "An included link to Bob Ross"'
107
-                           );
107
+                            );
108 108
     }
109 109
 }
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.