8000 [Console] added a better way to ask questions to the user · symfony/symfony@c413f89 · GitHub
[go: up one dir, main page]

Skip to content

Commit c413f89

Browse files
fabpotromainneutron
authored andcommitted
[Console] added a better way to ask questions to the user
1 parent 58bed5d commit c413f89

File tree

7 files changed

+647
-1
lines changed

7 files changed

+647
-1
lines changed

UPGRADE-3.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ UPGRADE FROM 2.x to 3.0
2020

2121
### Console
2222

23+
* The `dialog` helper has been removed in favor of the `question` helper.
24+
2325
* The methods `isQuiet`, `isVerbose`, `isVeryVerbose` and `isDebug` were added
2426
to `Symfony\Component\Console\Output\OutputInterface`.
2527

src/Symfony/Component/Console/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ CHANGELOG
44
2.5.0
55
-----
66

7+
* deprecated the dialog helper (use the question helper instead)
78
* deprecated TableHelper in favor of Table
89
* deprecated ProgressHelper in favor of ProgressBar
10+
* added a question helper
11+
* added a way to set the process name of a command
912
* added a way to set a default command instead of `ListCommand`
10-
* added a way to set the process title of a command
1113

1214
2.4.0
1315
-----

src/Symfony/Component/Console/Helper/DialogHelper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
* The Dialog class provides helpers to interact with the user.
1919
*
2020
* @author Fabien Potencier <fabien@symfony.com>
21+
*
22+
* @deprecated Deprecated since version 2.5, to be removed in 3.0.
23+
* Use the question helper instead.
2124
*/
2225
class DialogHelper extends InputAwareHelper
2326
{

0 commit comments

Comments
 (0)
0