You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (false === $php = $executableFinder->find(false)) {
@@ -48,11 +47,8 @@ public function __construct($script, $cwd = null, array $env = null, $timeout =
48
47
$php[] = $file;
49
48
$script = null;
50
49
}
51
-
if (null !== $options) {
52
-
@trigger_error(sprintf('The $options parameter of the %s constructor is deprecated since version 3.3 and will be removed in 4.0.', __CLASS__), E_USER_DEPRECATED);
@trigger_error(sprintf('The $options parameter of the %s constructor is deprecated since version 3.3 and will be removed in 4.0.', __CLASS__), E_USER_DEPRECATED);
@trigger_error(sprintf('The %s::start() method expects a second "$env" argument since version 3.3. It will be made mandatory in 4.0.', static::class), E_USER_DEPRECATED);
@trigger_error('Not inheriting environment variables is deprecated since Symfony 3.3 and will always happen in 4.0. Set "Process::inheritEnvironmentVariables()" to true instead.', E_USER_DEPRECATED);
320
294
}
295
+
296
+
$options = array('suppress_errors' => true);
297
+
321
298
if ('\\' === DIRECTORY_SEPARATOR && $this->enhanceWindowsCompatibility) {
@trigger_error('Not inheriting environment variables is deprecated since Symfony 3.3 and will always happen in 4.0. Set "Process::inheritEnvironmentVariables()" to true instead.', E_USER_DEPRECATED);
1237
+
thrownewInvalidArgumentException('Not inheriting environment variables is not supported.');
1294
1238
}
1295
1239
1296
-
$this->inheritEnv = (bool) $inheritEnv;
1297
-
1298
1240
return$this;
1299
1241
}
1300
1242
1301
-
/**
1302
-
* Returns whether environment variables will be inherited or not.
1303
-
*
1304
-
* @return bool
1305
-
*
1306
-
* @deprecated since version 3.3, to be removed in 4.0. Environment variables will always be inherited.
1307
-
*/
1308
-
publicfunctionareEnvironmentVariablesInherited()
1309
-
{
1310
-
@trigger_error(sprintf('The %s() method is deprecated since version 3.3 and will be removed in 4.0. Environment variables will always be inherited.', __METHOD__), E_USER_DEPRECATED);
1311
-
1312
-
return$this->inheritEnv;
1313
-
}
1314
-
1315
1243
/**
1316
1244
* Performs a check between the timeout definition and the time the process started.
0 commit comments