@@ -103,7 +103,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -52,11 +52,11 @@ |
||
| 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 | } |
@@ -88,7 +88,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |
@@ -52,11 +52,11 @@ |
||
| 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 | } |
@@ -103,7 +103,7 @@ discard block |
||
| 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 |
||
| 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 | } |
@@ -52,11 +52,11 @@ |
||
| 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 | } |