Skip to content

Commit

Permalink
feat: prepare for symfony/console multiline support
Browse files Browse the repository at this point in the history
Multiline support PR is awaiting merge:
symfony/symfony#37683
  • Loading branch information
ramsey committed Aug 12, 2020
1 parent 5173022 commit 153978a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class DescriptionQuestion extends Question
public function __construct()
{
parent::__construct('Write a short description of the change');

if (method_exists($this, 'setMultiline')) {
$this->setMultiline(true);
}
}

public function getValidator(): callable
Expand Down

0 comments on commit 153978a

Please sign in to comment.