Completed
Push — master ( 043b8a...41e11b )
by Baris
03:25
created
apps/default.app/console.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@  discard block
 block discarded – undo
8 8
 $arguments['task'] = $appConfig->default_task;
9 9
 $arguments['action'] = $appConfig->default_action;
10 10
 
11
-if ( isset( $_SERVER['argv'][1] ) AND strpos($argv[1], "@") !== FALSE  ) {
11
+if (isset($_SERVER['argv'][1]) AND strpos($argv[1], "@") !== FALSE) {
12 12
     $itemNumber = 0;
13 13
     $allArguments = explode("@", $argv[1]);
14
-    if ( count($allArguments) === 2 )
14
+    if (count($allArguments) === 2)
15 15
     {
16 16
         $itemNumber = 1;
17 17
     }
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
 }
22 22
 
23 23
 $arguments['params'] = array();
24
-foreach($_SERVER['argv'] as $k => $arg) {
25
-    if($k >= 2) {
24
+foreach ($_SERVER['argv'] as $k => $arg) {
25
+    if ($k >= 2) {
26 26
         $arguments['params'][] = $arg;
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
apps/default.app/application.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,10 +46,10 @@
 block discarded – undo
46 46
 $output = $application->handle()->getContent();
47 47
 
48 48
 // HTML Minification
49
-if ( $appConfig->html_minify ) {
50
-    ob_start( function() use ($output) {
51
-        $search = array( '/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s' );
52
-        $replace = array( '>', '<', '\\1' );
49
+if ($appConfig->html_minify) {
50
+    ob_start(function() use ($output) {
51
+        $search = array('/\>[^\S ]+/s', '/[^\S ]+\</s', '/(\s)+/s');
52
+        $replace = array('>', '<', '\\1');
53 53
         $buffer = preg_replace($search, $replace, $output);
54 54
         return $buffer;
55 55
     });
Please login to merge, or discard this patch.