Add deprecation message for Process
This commit is contained in:
parent
d94d837e9e
commit
b9a6b711d3
@ -1057,6 +1057,8 @@ class Process
|
|||||||
*/
|
*/
|
||||||
public function getStdin()
|
public function getStdin()
|
||||||
{
|
{
|
||||||
|
trigger_error('getStdin() is deprecated since version 2.5 and will be removed in 3.0, use getInput() instead.', E_USER_DEPRECATED);
|
||||||
|
|
||||||
return $this->getInput();
|
return $this->getInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1085,6 +1087,8 @@ class Process
|
|||||||
*/
|
*/
|
||||||
public function setStdin($stdin)
|
public function setStdin($stdin)
|
||||||
{
|
{
|
||||||
|
trigger_error('setStdin() is deprecated since version 2.5 and will be removed in 3.0, use setInput() instead.', E_USER_DEPRECATED);
|
||||||
|
|
||||||
return $this->setInput($stdin);
|
return $this->setInput($stdin);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user