Completed
Pull Request — 2.0.x (#8)
by Andrew
05:51
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.
koharness.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  * @link      https://github.com/ingenerator/koharness
8 8
  */
9 9
 return array(
10
-  'modules' => array(
10
+    'modules' => array(
11 11
     'kohana-view' => __DIR__,
12
-  )
12
+    )
13 13
 );
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 1 patch
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.