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-1
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ public static function fromShellCommandline(string $command, string $cwd = null,
65
65
*/
66
66
publicfunctionsetPhpBinary($php)
67
67
{
68
-
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the $php argument of the constructor instead.', __METHOD__), E_USER_DEPRECATED);
68
+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.2, use the $php argument of the constructor instead.', __METHOD__), \E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: Process.php
+6-6
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ public function __construct($command, string $cwd = null, array $env = null, $in
144
144
}
145
145
146
146
if (!\is_array($command)) {
147
-
@trigger_error(sprintf('Passing a command as string when creating a "%s" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell.', __CLASS__), E_USER_DEPRECATED);
147
+
@trigger_error(sprintf('Passing a command as string when creating a "%s" instance is deprecated since Symfony 4.2, pass it as an array of its arguments instead, or use the "Process::fromShellCommandline()" constructor if you need features provided by the shell.', __CLASS__), \E_USER_DEPRECATED);
148
148
}
149
149
150
150
$this->commandline = $command;
@@ -938,7 +938,7 @@ public function addOutput(string $line)
0 commit comments