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
Following the documentation on console sections i noticed the example output does not reflect the output described in the example code description.
Expected Output
$ #Irrelevant history
$ bin/console playground:cli-sections
Line2
Line3
Actual Output
$ #Irrelevant history
Line1
Line2
Line3
If i add two more $section1->writeln() to the end for example i get the following output where i would expect only Line5 and Line6
Line1
Line4
Line6
It looks to me that there's some strange behaviour going on where Lines which were n+1 of the argument given to setMaxHeight() stays printed in the console window. But i could be way off on this.
Tested environment
OS: Debian 12
PHP: 8.3.6
Docker: NO
Shell: Bash
Symfony version: 7.0.7 (ran symfony new for this bug report)
Symfony version(s) affected
7.0.7
Description
Following the documentation on console sections i noticed the example output does not reflect the output described in the example code description.
Expected Output
$ #Irrelevant history $ bin/console playground:cli-sections Line2 Line3
Actual Output
$ #Irrelevant history Line1 Line2 Line3
If i add two more
$section1->writeln()
to the end for example i get the following output where i would expect onlyLine5
andLine6
It looks to me that there's some strange behaviour going on where Lines which were n+1 of the argument given to
setMaxHeight()
stays printed in the console window. But i could be way off on this.Tested environment
OS: Debian 12
PHP: 8.3.6
Docker: NO
Shell: Bash
Symfony version: 7.0.7 (ran
symfony new
for this bug report)composer info
How to reproduce
Create a new symfony project using Symfony's CLI tool
(commands from my 'history')
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: