Passed
Push — 1.0.0-dev ( 4fe441...8a402d )
by nguereza
02:37
created
core/classes/Loader.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
         protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null){
312 312
             $searchDir = null;
313 313
             if ($type == 'function') {
314
-               $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH);
314
+                $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH);
315 315
             }
316 316
             else if ($type == 'language') {
317 317
                 $searchDir = array(APP_LANG_PATH, CORE_LANG_PATH);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
          * @param  string $appLang the application language, only if type = "language"
309 309
          * @return string|null          the full file path
310 310
          */
311
-        protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null){
311
+        protected function getDefaultFilePathForFunctionLanguage($file, $type, $appLang = null) {
312 312
             $searchDir = null;
313 313
             if ($type == 'function') {
314 314
                $searchDir = array(FUNCTIONS_PATH, CORE_FUNCTIONS_PATH);
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
          * @param  string|null $module the module if is not null will return it
335 335
          * @return string|null
336 336
          */
337
-        protected function getModuleFromSuperController($module){
337
+        protected function getModuleFromSuperController($module) {
338 338
             $obj = & get_instance();
339 339
             if (!$module && !empty($obj->moduleName)) {
340 340
                 $module = $obj->moduleName;
Please login to merge, or discard this patch.
core/classes/Config.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -163,17 +163,17 @@
 block discarded – undo
163 163
         }
164 164
          
165 165
         /**
166
-        * Return the server port using variable
167
-        *
168
-        * @codeCoverageIgnore
169
-        * @return string
170
-        */
166
+         * Return the server port using variable
167
+         *
168
+         * @codeCoverageIgnore
169
+         * @return string
170
+         */
171 171
         protected function getServerPort() {
172 172
             $globals = & class_loader('GlobalVar', 'classes');
173 173
             $serverPortValue = $globals->server('SERVER_PORT');
174 174
             $serverPort = 80;
175 175
             if ($serverPortValue) {
176
-                 $serverPort = $serverPortValue;
176
+                    $serverPort = $serverPortValue;
177 177
             }
178 178
             $port = '';
179 179
             if ((is_https() && $serverPort != 443) || (!is_https() && $serverPort != 80)) {
Please login to merge, or discard this patch.