New:
--verbose
or higher.--all
option to the doc
command for showing inherited docs.doc
on class methods or properties.
Add graceful handling for invalid return types.
Add a notice when globally-installed PsySH defers to a local dependency.Improved:
throw-up
command.getenv
and putenv
calls in favor of direct $_SERVER
superglobal access.This one's almost too big for a point release!
New:
--interactive
and --no-interactive
, to explicitly enable or disable interactive mode.--verbose
, --quiet
and -v
/-vv
/-vvv
for output verbosity. This one kind of worked before, but only sometimes, and only kind of :)psysh
does!verbosity
, equivalent to the -v
, -vv
, -vvv
and --silent
command line options.interactiveMode
, equivalent to --interactive
and --no-interactive
command line options.formatterStyles
, for overriding command line colors.--raw-output
, or STDOUT
is redirected.STDERR
not STDOUT
, which makes it easier to split them off from desired output.ls
and elsewhere, the line numbers are the same style and colors as in history
, etc.ls
command can now list namespaces! This means, for example, that ls --classes Psy
will return all known classes inside the Psy namespace. This works for constants, functions, interfaces and traits as well.show
command now shows files! Try show __DIR__ . '/vendor/autoload.php'
. This is super handy when combined with the $__file
magic variable set by ls
and doc
:)Improved:
show
command now includes doc comments for classes, interfaces, traits, functions and methods.whereami
command now has a --file
option for showing the entire file.proctitle
extension.doc
command.sudo
, parse
and throwup
commands.(Skipping v0.10.1, which was supposed to fix this but didn't)
This might just be our... BIGGEST. RELEASE. EVER.
Note that PsySH v0.10.0 drops support for PHP < 5.5, and non-LTS HHVM.
Uppppppggggggrraaaaddddeeeee.
New:
.inputrc
and .editrc
(Thanks @tgr!)-q
, -v
and -n
(Thanks @aksonnic!)--raw-output
(-r
) for printing var_export-style return values with non-interactive input.--raw-output
and --no-interaction
ls
, doc
, etc).Improved:
instanceof
checks, catching more fatal errors before they fatal (Thanks @baukevdw!)$array[]
expressions outside of the left-hand side of an assignment.goto
with an invalid label (Thanks @zonuexe!)ls
command with constants:category=internal
and category=user
equivalent to --user
and --internal
category
option case-insensitivemkdir
fails while setting up PsySH (Thanks @GrahamCampbell!)--help
option more lenient.Removed:
ls
command list
alias. Now that PsySH supports arbitrary expressions as arguments for ls
, having a list
alias is sometimes ambiguous, for example when using the list keyword with a space before its parenthesis.--version
short flag has changed to -V
, as -v
is now used for verbosity (matching Symfony Console defaults).InterfaceEnumerator
and TraitEnumerator
(which have been unused for several releases).Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2020-760c76908d
Please login to add feedback.
This update has been submitted for testing by siwinski.
This update's test gating status has been changed to 'ignored'.
This update's test gating status has been changed to 'waiting'.
siwinski edited this update.
This update's test gating status has been changed to 'ignored'.
siwinski edited this update.
This update has been pushed to testing.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.