Skip to content

Commit e0205ba

Browse files
committed
feature #12697 [3.0][Process] Remove deprecated methods (romainneutron)
This PR was merged into the 3.0-dev branch. Discussion ---------- [3.0][Process] Remove deprecated methods | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT Commits ------- e2334d9 [Process] Remove deprecated methods
2 parents 73d3770 + e2334d9 commit e0205ba

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,21 +1047,6 @@ public function setEnv(array $env)
10471047
return $this;
10481048
}
10491049

1050-
/**
1051-
* Gets the contents of STDIN.
1052-
*
1053-
* @return string|null The current contents
1054-
*
1055-
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
1056-
* This method is deprecated in favor of getInput.
1057-
*/
1058-
public function getStdin()
1059-
{
1060-
trigger_error('getStdin() is deprecated since version 2.5 and will be removed in 3.0, use getInput() instead.', E_USER_DEPRECATED);
1061-
1062-
return $this->getInput();
1063-
}
1064-
10651050
/**
10661051
* Gets the Process input.
10671052
*
@@ -1072,26 +1057,6 @@ public function getInput()
10721057
return $this->input;
10731058
}
10741059

1075-
/**
1076-
* Sets the contents of STDIN.
1077-
*
1078-
* @param string|null $stdin The new contents
1079-
*
1080-
* @return self The current Process instance
1081-
*
1082-
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
1083-
* This method is deprecated in favor of setInput.
1084-
*
1085-
* @throws LogicException In case the process is running
1086-
* @throws InvalidArgumentException In case the argument is invalid
1087-
*/
1088-
public function setStdin($stdin)
1089-
{
1090-
trigger_error('setStdin() is deprecated since version 2.5 and will be removed in 3.0, use setInput() instead.', E_USER_DEPRECATED);
1091-
1092-
return $this->setInput($stdin);
1093-
}
1094-
10951060
/**
10961061
* Sets the input.
10971062
*

0 commit comments

Comments
 (0)