New:
- Add a
--yolo
mode for running PsySH without input validation. Most of the time you don't want this, but now it's there as an escape hatch.
Improved:
- Extend runkit reloading support to runkit7 (limited to versions below 4.0.0a1, unfortunately) (Thanks @maxime-aknin!)
- Fix non-nullable internal function deprecation notice in PHP 8.1 (Thanks @Ayesh!)
- Fix namespace alias resolution in reflecting commands. Class aliases used to work, but aliasing a namespace and referencing a class inside that namespace would fail.
- Support aliases in reflecting commands when a namespace is set. Previously, commands like
list
would support either class name aliases or setting a current namespace, but not both.why_not_both.gif
- Fix
eval(psy\sh())
calls from non-class contexts in PHP >8.0. - Updated StyleCI config (Thanks @GrahamCampbell!)