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
As described here laravel/tinker#142 there has been a breaking change in symfony/console between 5.4.2 and 5.4.3 that made tinker (a php repl based on psysh) break on laravel 9, see "How to reproduce" for more info.
How to reproduce
Following the steps detailed here laravel/tinker#142 you will have a new laravel 9 project with symfony/console in version ^6.
As the original report states, default psysh commands like help or ls are broken.
Forcing an alias dep like "symfony/console": "5.4.2 as 6.0.2" resolves the issue, while even 1 patch version up, i.e. using 5.4.3 results in a broken tinker.