Completed
Branch master (131a41)
by Matthew
05:27
created
Command/StartWorkerCommand.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -100,15 +100,15 @@
 block discarded – undo
100 100
         }
101 101
 
102 102
 
103
-		// In windows: When you pass an environment to CMD it replaces the old environment
104
-		// That means we create a lot of problems with respect to user accounts and missing vars
105
-		// this is a workaround where we add the vars to the existing environment.
106
-		if (defined('PHP_WINDOWS_VERSION_BUILD')) {
107
-			foreach($env as $key => $value) {
108
-				putenv($key."=". $value);
109
-			}
110
-			$env = null;
111
-		}
103
+        // In windows: When you pass an environment to CMD it replaces the old environment
104
+        // That means we create a lot of problems with respect to user accounts and missing vars
105
+        // this is a workaround where we add the vars to the existing environment.
106
+        if (defined('PHP_WINDOWS_VERSION_BUILD')) {
107
+            foreach($env as $key => $value) {
108
+                putenv($key."=". $value);
109
+            }
110
+            $env = null;
111
+        }
112 112
 
113 113
         $process = new Process($workerCommand, null, $env, null, null);
114 114
 
Please login to merge, or discard this patch.
Command/StartScheduledWorkerCommand.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -72,17 +72,17 @@
 block discarded – undo
72 72
             $workerCommand = 'nohup ' . $workerCommand . ' > ' . $logFile .' 2>&1 & echo $!';
73 73
         }
74 74
 
75
-		// In windows: When you pass an environment to CMD it replaces the old environment
76
-		// That means we create a lot of problems with respect to user accounts and missing vars
77
-		// this is a workaround where we add the vars to the existing environment.
78
-		if (defined('PHP_WINDOWS_VERSION_BUILD'))
79
-		{
80
-			foreach($env as $key => $value)
81
-			{
82
-				putenv($key."=". $value);
83
-			}
84
-			$env = null;
85
-		}
75
+        // In windows: When you pass an environment to CMD it replaces the old environment
76
+        // That means we create a lot of problems with respect to user accounts and missing vars
77
+        // this is a workaround where we add the vars to the existing environment.
78
+        if (defined('PHP_WINDOWS_VERSION_BUILD'))
79
+        {
80
+            foreach($env as $key => $value)
81
+            {
82
+                putenv($key."=". $value);
83
+            }
84
+            $env = null;
85
+        }
86 86
 
87 87
 
88 88
         $process = new Process($workerCommand, null, $env, null, null);
Please login to merge, or discard this patch.