Describe the bug
psy/psysh 0.12.22 has a breaking change in Shell.php which was fixed in Drush 13.x (#6538) and 14.x (#6543) last week. However, the latest version of Drush 12.x is still having the error.
To Reproduce
$ drush php
PHP Fatal error: Access level to Drush\Psysh\Shell::hasCommand() must be public (as in class Psy\Shell) in /app/vendor/drush/drush/src/Psysh/Shell.php on line 33
Workaround
Pin psy/psysh to 0.12.20.
System Configuration
| Q |
A |
| Drush version? |
12.x |
| Drupal version? |
10.x |
| PHP version |
8.x |
| OS? |
Linux |
Additional information
Backport #6538 to 12.x.
Describe the bug
psy/psysh0.12.22 has a breaking change inShell.phpwhich was fixed in Drush 13.x (#6538) and 14.x (#6543) last week. However, the latest version of Drush 12.x is still having the error.To Reproduce
Workaround
Pin
psy/psyshto 0.12.20.System Configuration
Additional information
Backport #6538 to 12.x.