Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c413f89

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

File tree

Expand file treeCollapse file tree

7 files changed

+647
-1
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+647
-1
lines changed

‎UPGRADE-3.0.md

Copy file name to clipboardExpand all lines: UPGRADE-3.0.md
+2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/CHANGELOG.md
+3-1Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Helper/DialogHelper.php
+3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.