Test Setup Failed
Push — master ( 8e597b...728663 )
by Bob
03:25
created
src/lib/autoUpdate.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,12 +29,12 @@
 block discarded – undo
29 29
  */
30 30
 function updateBot($logger)
31 31
 {
32
-	$logger->addInfo("Updating Bot");
33
-	putenv("COMPOSER_HOME=/usr/local/bin/composer");
32
+    $logger->addInfo("Updating Bot");
33
+    putenv("COMPOSER_HOME=/usr/local/bin/composer");
34 34
     $output = shell_exec('sh ' . dirname(__FILE__) . '/update.sh');
35
-	if ($output == "1"){
36
-		$logger->addInfo("Update Complete");
37
-		return "1";
38
-	}
39
-	return "0";
35
+    if ($output == "1"){
36
+        $logger->addInfo("Update Complete");
37
+        return "1";
38
+    }
39
+    return "0";
40 40
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	$logger->addInfo("Updating Bot");
33 33
 	putenv("COMPOSER_HOME=/usr/local/bin/composer");
34 34
     $output = shell_exec('sh ' . dirname(__FILE__) . '/update.sh');
35
-	if ($output == "1"){
35
+	if ($output == "1") {
36 36
 		$logger->addInfo("Update Complete");
37 37
 		return "1";
38 38
 	}
Please login to merge, or discard this patch.