Completed
Push — master ( 270518...8e9677 )
by Gordon
28:59 queued 14:43
created
tests/SiteMapTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
         $this->assertEquals(2, $count);
25 25
 
26 26
         // assert root level pages
27
-        for ($i=1; $i <= 4; $i++) {
28
-            $row = '<li><a href="page-' . $i . '" title="Go to the Page ' . $i . ' page">Page ' . $i . '</a>';
27
+        for ($i = 1; $i <= 4; $i++) {
28
+            $row = '<li><a href="page-'.$i.'" title="Go to the Page '.$i.' page">Page '.$i.'</a>';
29 29
             $this->assertContains($row, $body);
30 30
             $positions["{$i}"] = strpos($body, $row);
31 31
         }
Please login to merge, or discard this patch.
code/SiteMapController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 class SiteMapController extends \PageController
10 10
 {
11 11
     /**
12
-    * This function will return a unordered list of all pages on the site.
13
-    * Watch for the switch between $page and $child in the second line of the
14
-    * foreach().
15
-    *
16
-    * Note that this will only skip ErrorPage's at the top/root level of the site.
17
-    * If you have an ErrorPage class somewhere else in the hierarchy, it will be
18
-    * displayed.
19
-    */
12
+     * This function will return a unordered list of all pages on the site.
13
+     * Watch for the switch between $page and $child in the second line of the
14
+     * foreach().
15
+     *
16
+     * Note that this will only skip ErrorPage's at the top/root level of the site.
17
+     * If you have an ErrorPage class somewhere else in the hierarchy, it will be
18
+     * displayed.
19
+     */
20 20
     public function SiteMap()
21 21
     {
22 22
         // Pages at the root level only
Please login to merge, or discard this patch.