Yii command auto answer yes or no

I was installing yii and when doing init and migrate the user input for yes or no and 1 or 0 were auto answered. So I cannot migrate.

soemo@DESKTOP-0PS6BDQ MINGW64 /c/xampp/htdocs/advanced
$ php yii migrate
Yii Migration Tool (based on Yii v2.0.42.1)

Total 2 new migrations to be applied:
m130524_201442_init
m190124_110200_add_verification_token_column_to_user_table

Apply the above migrations? (yes|no) [no]:
soemo@DESKTOP-0PS6BDQ MINGW64 /c/xampp/htdocs/advanced

Probably this PHP bug in 7.4
Fixed in 7.4.1

https://bugs.php.net/bug.php?id=78883