Completed
Pull Request — 2.0.x (#6)
by Andrew
02:53
created
koharness.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Configuration for the koharness module testing environment.
4
- * 
5
- * @author    Andrew Coulton <[email protected]>
6
- * @copyright 2013 inGenerator Ltd
7
- * @link      https://github.com/ingenerator/koharness
8
- */
3
+	 * Configuration for the koharness module testing environment.
4
+	 * 
5
+	 * @author    Andrew Coulton <[email protected]>
6
+	 * @copyright 2013 inGenerator Ltd
7
+	 * @link      https://github.com/ingenerator/koharness
8
+	 */
9 9
 return array(
10 10
   'modules' => array(
11
-    'kohana-view' => __DIR__,
11
+	'kohana-view' => __DIR__,
12 12
   )
13 13
 );
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateManager.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 interface TemplateManager
18 18
 {
19 19
 
20
-    /**
21
-     * @param string $template_name Name of the template to use (can include path separators)
22
-     *
23
-     * @return string Path to the compiled template file
24
-     */
25
-    public function getPath($template_name);
20
+	/**
21
+	 * @param string $template_name Name of the template to use (can include path separators)
22
+	 *
23
+	 * @return string Path to the compiled template file
24
+	 */
25
+	public function getPath($template_name);
26 26
 
27 27
 }
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateManager/CFSWrapper.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
 class CFSWrapper
16 16
 {
17 17
 
18
-    /**
19
-     * @see \Kohana::find_file
20
-     */
21
-    public function find_file($dir, $file)
22
-    {
23
-        return \Kohana::find_file($dir, $file, NULL, FALSE);
24
-    }
18
+	/**
19
+	 * @see \Kohana::find_file
20
+	 */
21
+	public function find_file($dir, $file)
22
+	{
23
+		return \Kohana::find_file($dir, $file, NULL, FALSE);
24
+	}
25 25
 }
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateSpecifyingViewModel.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author     Andrew Coulton <[email protected]>
4
- * @copyright  2015 inGenerator Ltd
5
- * @license    http://kohanaframework.org/license
6
- */
3
+	 * @author     Andrew Coulton <[email protected]>
4
+	 * @copyright  2015 inGenerator Ltd
5
+	 * @license    http://kohanaframework.org/license
6
+	 */
7 7
 
8 8
 namespace Ingenerator\KohanaView;
9 9
 
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
 interface TemplateSpecifyingViewModel
17 17
 {
18 18
 
19
-    /**
20
-     * @return string
21
-     */
22
-    public function getTemplateName();
19
+	/**
20
+	 * @return string
21
+	 */
22
+	public function getTemplateName();
23 23
 }
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/Renderer.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
 interface Renderer
18 18
 {
19 19
 
20
-    /**
21
-     * @param ViewModel $view
22
-     *
23
-     * @return string
24
-     */
25
-    public function render(ViewModel $view);
20
+	/**
21
+	 * @param ViewModel $view
22
+	 *
23
+	 * @return string
24
+	 */
25
+	public function render(ViewModel $view);
26 26
 
27 27
 }
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/ViewModel/PageContentView.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
 interface PageContentView extends ViewModel
22 22
 {
23 23
 
24
-    /**
25
-     * The page layout that this content view will be rendered into
26
-     *
27
-     * @return PageLayoutView
28
-     */
29
-    public function var_page();
24
+	/**
25
+	 * The page layout that this content view will be rendered into
26
+	 *
27
+	 * @return PageLayoutView
28
+	 */
29
+	public function var_page();
30 30
 }
Please login to merge, or discard this patch.
Ingenerator/KohanaView/ViewModel/PageLayout/AbstractPageContentView.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author     Andrew Coulton <[email protected]>
4
- * @copyright  2015 inGenerator Ltd
5
- * @license    http://kohanaframework.org/license
6
- */
3
+	 * @author     Andrew Coulton <[email protected]>
4
+	 * @copyright  2015 inGenerator Ltd
5
+	 * @license    http://kohanaframework.org/license
6
+	 */
7 7
 
8 8
 namespace Ingenerator\KohanaView\ViewModel\PageLayout;
9 9
 
@@ -27,23 +27,23 @@  discard block
 block discarded – undo
27 27
 abstract class AbstractPageContentView extends AbstractViewModel implements PageContentView
28 28
 {
29 29
 
30
-    /**
31
-     * @var PageLayoutView
32
-     */
33
-    protected $page_view;
34
-
35
-    public function __construct(PageLayoutView $page)
36
-    {
37
-        $this->page_view = $page;
38
-        parent::__construct();
39
-    }
40
-
41
-    /**
42
-     * @return PageLayoutView
43
-     */
44
-    public function var_page()
45
-    {
46
-        return $this->page_view;
47
-    }
30
+	/**
31
+	 * @var PageLayoutView
32
+	 */
33
+	protected $page_view;
34
+
35
+	public function __construct(PageLayoutView $page)
36
+	{
37
+		$this->page_view = $page;
38
+		parent::__construct();
39
+	}
40
+
41
+	/**
42
+	 * @return PageLayoutView
43
+	 */
44
+	public function var_page()
45
+	{
46
+		return $this->page_view;
47
+	}
48 48
 
49 49
 }
Please login to merge, or discard this patch.
Ingenerator/KohanaView/ViewModel/PageLayout/AbstractPageLayoutView.php 1 patch
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -26,32 +26,32 @@
 block discarded – undo
26 26
 abstract class AbstractPageLayoutView extends AbstractViewModel implements ViewModel\PageLayoutView
27 27
 {
28 28
 
29
-    /**
30
-     * @var array
31
-     */
32
-    protected $variables = [
33
-        'body_html' => NULL,
34
-        'title'     => NULL,
35
-    ];
36
-
37
-    /**
38
-     * @param string $title
39
-     *
40
-     * @return void
41
-     */
42
-    public function setTitle($title)
43
-    {
44
-        $this->variables['title'] = $title;
45
-    }
46
-
47
-    /**
48
-     * @param string $html
49
-     *
50
-     * @return void
51
-     */
52
-    public function setBodyHTML($html)
53
-    {
54
-        $this->variables['body_html'] = $html;
55
-    }
29
+	/**
30
+	 * @var array
31
+	 */
32
+	protected $variables = [
33
+		'body_html' => NULL,
34
+		'title'     => NULL,
35
+	];
36
+
37
+	/**
38
+	 * @param string $title
39
+	 *
40
+	 * @return void
41
+	 */
42
+	public function setTitle($title)
43
+	{
44
+		$this->variables['title'] = $title;
45
+	}
46
+
47
+	/**
48
+	 * @param string $html
49
+	 *
50
+	 * @return void
51
+	 */
52
+	public function setBodyHTML($html)
53
+	{
54
+		$this->variables['body_html'] = $html;
55
+	}
56 56
 
57 57
 }
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/ViewModel/PageLayoutView.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
 interface PageLayoutView extends ViewModel
22 22
 {
23 23
 
24
-    /**
25
-     * @param string $html
26
-     *
27
-     * @return void
28
-     */
29
-    public function setBodyHTML($html);
24
+	/**
25
+	 * @param string $html
26
+	 *
27
+	 * @return void
28
+	 */
29
+	public function setBodyHTML($html);
30 30
 
31 31
 }
Please login to merge, or discard this patch.