Completed
Branch 2.0.x (e30486)
by Andrew
03:10
created
classes/Ingenerator/KohanaView/Renderer/HTMLRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,11 +77,11 @@
 block discarded – undo
77 77
     {
78 78
         /** @noinspection PhpUnusedParameterInspection */
79 79
         /** @noinspection PhpDocSignatureInspection */
80
-        $bound_capture = function (ViewModel $view, Renderer $renderer, $template) {
80
+        $bound_capture = function(ViewModel $view, Renderer $renderer, $template) {
81 81
             /** @noinspection PhpIncludeInspection */
82 82
             return include $template;
83 83
         };
84
-        $anon_capture  = $bound_capture->bindTo(NULL);
84
+        $anon_capture = $bound_capture->bindTo(NULL);
85 85
 
86 86
         // A user's own error handler may throw an exception here if the include fails - which we will bubble as-is.
87 87
         // If they have not configured an error handler, we need to throw an exception of our own.
Please login to merge, or discard this patch.
config/dependencies.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * KohanaView dependency container configuration for use with https://github.com/zeelot/kohana-dependencies
4
- *
5
- * @author     Andrew Coulton <[email protected]>
6
- * @copyright  2015 inGenerator Ltd
7
- * @license    http://kohanaframework.org/license
8
- */
3
+     * KohanaView dependency container configuration for use with https://github.com/zeelot/kohana-dependencies
4
+     *
5
+     * @author     Andrew Coulton <[email protected]>
6
+     * @copyright  2015 inGenerator Ltd
7
+     * @license    http://kohanaframework.org/license
8
+     */
9 9
 return [
10 10
     'kohanaview' => [
11 11
         'renderer' => [
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/Renderer/PageLayoutRenderer.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             return $this->use_layout;
80 80
         }
81 81
 
82
-        if ($this->current_request AND $this->current_request->is_ajax()) {
82
+        if ($this->current_request and $this->current_request->is_ajax()) {
83 83
             return FALSE;
84 84
         } else {
85 85
             return TRUE;
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateManager/CFSTemplateManager.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      */
91 91
     protected function isCompileRequired($compiled_path)
92 92
     {
93
-        if ($this->recompile_always AND ! isset($this->compiled_paths[$compiled_path])) {
93
+        if ($this->recompile_always and ! isset($this->compiled_paths[$compiled_path])) {
94 94
             return TRUE;
95 95
         }
96 96
 
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
 
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/ViewTemplateSelector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * @param TemplateSpecifyingViewModel $view
41 41
      *
42
-     * @return mixed
42
+     * @return string
43 43
      * @throws \UnexpectedValueException if no template is provided
44 44
      */
45 45
     protected function validateSpecifiedTemplateName(TemplateSpecifyingViewModel $view)
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateCompiler.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
 
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/TemplateManager/CFSWrapper.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
 
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/Exception/TemplateNotFoundException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
 
Please login to merge, or discard this patch.
Ingenerator/KohanaView/Exception/UnspecifiedTemplateNameException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 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
 
Please login to merge, or discard this patch.