New:
- Add a
startupMessage
config option (Thanks @gitetsu!) - Reflecting commands (
dump
,ls
,show
,doc
) now add magic variables so you can do fun things with them:$__class
,$__file
,$__method
, etc.
Improved:
- Fix some mistyped annotations and add a phan config (Thanks @zonuexe!)
- Handle file permissions errors for update checks and history files more gracefully (Thanks @zonuexe!)
- Handle PHP 7.x
\Error
s thrown while serializing the shell return value (Thanks @damiankloip!) - Deal with variables named
$this
(like if you started your shell session from inside a class method) without exploding in PHP 7.1+. - Improve the accuracy of info returned by
Psy\info()
. - Fix an error preventing
Psy\info()
from doing anything at all in the last release :-( - Don't let local configuration interfere with config unit tests.
- Make reflecting commands superglobals-aware.
dump
is the only one that actually does anything useful with a superglobal, but now the others have reasonable output. - Fix fatal error when trying to extend final classes.
- Make a few things reference
static
instead ofself
to make extension easier (Thanks @castarco!) - Fix a handful of bugs around escaping special characters (and
<
) while dumping values.