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
Copy file name to clipboardExpand all lines: PhpProcess.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ public function __construct($script, $cwd = null, array $env = null, $timeout =
47
47
$script = null;
48
48
}
49
49
if (null !== $options) {
50
-
@trigger_error(sprintf('The $options parameter of the %s constructor is deprecated since Symfony 3.3 and will be removed in 4.0.', __CLASS__), E_USER_DEPRECATED);
50
+
@trigger_error(sprintf('The $options parameter of the %s constructor is deprecated since Symfony 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 Symfony 3.3 and will be removed in 4.0.', __CLASS__), E_USER_DEPRECATED);
170
+
@trigger_error(sprintf('The $options parameter of the %s constructor is deprecated since Symfony 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 Symfony 3.3. It will be made mandatory in 4.0.', static::class), E_USER_DEPRECATED);
271
+
@trigger_error(sprintf('The %s::start() method expects a second "$env" argument since Symfony 3.3. It will be made mandatory in 4.0.', static::class), \E_USER_DEPRECATED);
272
272
}
273
273
}
274
274
$env = null;
@@ -302,7 +302,7 @@ public function start(callable $callback = null/*, array $env = [*/)
302
302
if (null !== $env && $inheritEnv) {
303
303
$env += $this->getDefaultEnv();
304
304
} elseif (null !== $env) {
305
-
@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);
305
+
@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);
306
306
} else {
307
307
$env = $this->getDefaultEnv();
308
308
}
@@ -333,7 +333,7 @@ public function start(callable $callback = null/*, array $env = [*/)
333
333
}
334
334
335
335
if (!is_dir($this->cwd)) {
336
-
@trigger_error('The provided cwd does not exist. Command is currently ran against getcwd(). This behavior is deprecated since Symfony 3.4 and will be removed in 4.0.', E_USER_DEPRECATED);
336
+
@trigger_error('The provided cwd does not exist. Command is currently ran against getcwd(). This behavior is deprecated since Symfony 3.4 and will be removed in 4.0.', \E_USER_DEPRECATED);
@@ -1185,7 +1185,7 @@ public function setInput($input)
1185
1185
*/
1186
1186
publicfunctiongetOptions()
1187
1187
{
1188
-
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0.', __METHOD__), E_USER_DEPRECATED);
1188
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0.', __METHOD__), \E_USER_DEPRECATED);
1189
1189
1190
1190
return$this->options;
1191
1191
}
@@ -1201,7 +1201,7 @@ public function getOptions()
1201
1201
*/
1202
1202
publicfunctionsetOptions(array$options)
1203
1203
{
1204
-
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0.', __METHOD__), E_USER_DEPRECATED);
1204
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0.', __METHOD__), \E_USER_DEPRECATED);
1205
1205
1206
1206
$this->options = $options;
1207
1207
@@ -1219,7 +1219,7 @@ public function setOptions(array $options)
1219
1219
*/
1220
1220
publicfunctiongetEnhanceWindowsCompatibility()
1221
1221
{
1222
-
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Enhanced Windows compatibility will always be enabled.', __METHOD__), E_USER_DEPRECATED);
1222
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Enhanced Windows compatibility will always be enabled.', __METHOD__), \E_USER_DEPRECATED);
1223
1223
1224
1224
return$this->enhanceWindowsCompatibility;
1225
1225
}
@@ -1235,7 +1235,7 @@ public function getEnhanceWindowsCompatibility()
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Enhanced Windows compatibility will always be enabled.', __METHOD__), E_USER_DEPRECATED);
1238
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Enhanced Windows compatibility will always be enabled.', __METHOD__), \E_USER_DEPRECATED);
@@ -1251,7 +1251,7 @@ public function setEnhanceWindowsCompatibility($enhance)
1251
1251
*/
1252
1252
publicfunctiongetEnhanceSigchildCompatibility()
1253
1253
{
1254
-
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Sigchild compatibility will always be enabled.', __METHOD__), E_USER_DEPRECATED);
1254
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Sigchild compatibility will always be enabled.', __METHOD__), \E_USER_DEPRECATED);
1255
1255
1256
1256
return$this->enhanceSigchildCompatibility;
1257
1257
}
@@ -1271,7 +1271,7 @@ public function getEnhanceSigchildCompatibility()
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Sigchild compatibility will always be enabled.', __METHOD__), E_USER_DEPRECATED);
1274
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Sigchild compatibility will always be enabled.', __METHOD__), \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);
1291
+
@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);
1292
1292
}
1293
1293
1294
1294
$this->inheritEnv = (bool) $inheritEnv;
@@ -1305,7 +1305,7 @@ public function inheritEnvironmentVariables($inheritEnv = true)
1305
1305
*/
1306
1306
publicfunctionareEnvironmentVariablesInherited()
1307
1307
{
1308
-
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Environment variables will always be inherited.', __METHOD__), E_USER_DEPRECATED);
1308
+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Environment variables will always be inherited.', __METHOD__), \E_USER_DEPRECATED);
1309
1309
1310
1310
return$this->inheritEnv;
1311
1311
}
@@ -1452,7 +1452,7 @@ protected function isSigchildEnabled()
Copy file name to clipboardExpand all lines: ProcessBuilder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@
11
11
12
12
namespaceSymfony\Component\Process;
13
13
14
-
@trigger_error(sprintf('The %s class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the Process class instead.', ProcessBuilder::class), E_USER_DEPRECATED);
14
+
@trigger_error(sprintf('The %s class is deprecated since Symfony 3.4 and will be removed in 4.0. Use the Process class instead.', ProcessBuilder::class), \E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: ProcessUtils.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ private function __construct()
40
40
*/
41
41
publicstaticfunctionescapeArgument($argument)
42
42
{
43
-
@trigger_error('The '.__METHOD__.'() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use a command line array or give env vars to the Process::start/run() method instead.', E_USER_DEPRECATED);
43
+
@trigger_error('The '.__METHOD__.'() method is deprecated since Symfony 3.3 and will be removed in 4.0. Use a command line array or give env vars to the Process::start/run() method instead.', \E_USER_DEPRECATED);
44
44
45
45
//Fix for PHP bug #43784 escapeshellarg removes % from given string
46
46
//Fix for PHP bug #49446 escapeshellarg doesn't work on Windows
@@ -53,7 +53,7 @@ public static function escapeArgument($argument)
0 commit comments