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
Check for that implements StreamableInputInterface
Rollback E_USER_DEPRECATED notice in getInputStream
Remove legacy tests to avoid KO because of deprecations
Add missing use
@@ -78,7 +79,7 @@ public function ask(InputInterface $input, OutputInterface $output, Question $qu
78
79
*/
79
80
publicfunctionsetInputStream($stream)
80
81
{
81
-
@trigger_error(sprintf('The setInputStream() method is deprecated since version 3.1 and will be removed in 4.0. Use %s:setStream() instead.', InputInterface::class), E_USER_DEPRECATED);
82
+
@trigger_error(sprintf('The setInputStream() method is deprecated since version 3.1 and will be removed in 4.0. Use %s:setStream() instead.', StreamableInputInterface::class), E_USER_DEPRECATED);
82
83
83
84
if (!is_resource($stream)) {
84
85
thrownewInvalidArgumentException('Input stream must be a valid resource.');
@@ -90,12 +91,12 @@ public function setInputStream($stream)
90
91
/**
91
92
* Returns the helper's input stream.
92
93
*
94
+
* @deprecated Will be removed in 4.0, use StreamableInputInterface::getStream() instead
95
+
*
93
96
* @return resource
94
97
*/
95
98
publicfunctiongetInputStream()
96
99
{
97
-
@trigger_error(sprintf('The getInputStream() method is deprecated since version 3.1 and will be removed in 4.0. Use %s:getStream() instead.', InputInterface::class), E_USER_DEPRECATED);
0 commit comments