New in Symfony 4.1: Console improvements

The main new feature of the Console component in Symfony 4.1 is the
advanced output control that lets you update different parts of the output
simultaneously. However, we improved the the Console with other minor changes too.

In Symfony, when you mistype the command name you see an error message with a
list of similarly named commands. In Symfony 4.1, when there's only one
alternative command, you get the option to run it right away:

1
2
3
4

$ ./bin/console app:user:impot
Command "app:user:impot" not defined. Do you want to run "app:user:import" instead? [y/n]

In addition to the new table styles, in Symfony 4.1 we've deprecated some methods
(setHorizontalBorderChar(), setVerticalBorderChar(), setCrossingChar())
to introduce more powerful methods that will allow you to customize every single
character used to draw the table borders.

For example, the new setCrossingChars() can customize 9 different characters: