8000 feat: prepare for symfony/console multiline support · ramsey/conventional-commits@153978a · GitHub
[go: up one dir, main page]

Skip to content

Commit 153978a

Browse files
committed
feat: prepare for symfony/console multiline support
Multiline support PR is awaiting merge: symfony/symfony#37683
1 parent 5173022 commit 153978a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ConventionalCommits/Console/Question/DescriptionQuestion.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class DescriptionQuestion extends Question
3535
public function __construct()
3636
{
3737
parent::__construct('Write a short description of the change');
38+
39+
if (method_exists($this, 'setMultiline')) {
40+
$this->setMultiline(true);
41+
}
3842
}
3943

4044
public function getValidator(): callable

0 commit comments

Comments
 (0)
0