We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I expect the console command to work and not throw errors.
tesladethray@Tima:~/Pantheon/terminus $ t self:console Psy Shell v0.8.1 (PHP 7.1.1 — cli) by Justin Hileman PHP Fatal error: Uncaught Error: Cannot re-assign $this in /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code:1 Stack trace: #0 /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code(1): extract(Array) #1 /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31): eval() #2 [internal function]: Pantheon\Terminus\Commands\Self\ConsoleCommand->console(NULL, Array) #3 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(180): call_user_func_array(Array, Array) #4 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(129): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData)) #5 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(104): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, A in /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code on line 1 Fatal error: Uncaught Error: Cannot re-assign $this in /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code:1 Stack trace: #0 /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code(1): extract(Array) #1 /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31): eval() #2 [internal function]: Pantheon\Terminus\Commands\Self\ConsoleCommand->console(NULL, Array) #3 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(180): call_user_func_array(Array, Array) #4 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(129): Consolidation\AnnotatedCommand\CommandProcessor->runCommandCallback(Array, Object(Consolidation\AnnotatedCommand\CommandData)) #5 /Users/tesladethray/Pantheon/terminus/vendor/consolidation/annotated-command/src/CommandProcessor.php(104): Consolidation\AnnotatedCommand\CommandProcessor->validateRunAndAlter(Array, A in /Users/tesladethray/Pantheon/terminus/src/Commands/Self/ConsoleCommand.php(31) : eval()'d code on line 1 PHP Fatal error: Uncaught Error: Cannot re-assign $this in /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php:63 Stack trace: #0 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php(63): extract(Array) #1 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php(142): Pantheon\Terminus\Commands\Self\ConsoleCommand->Psy\ExecutionLoop\{closure}(Object(Psy\Shell)) #2 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php(79): Psy\ExecutionLoop\Loop->run(Object(Psy\Shell)) #3 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/Shell.php(308): Psy\ExecutionLoop\ForkingLoop->run(Object(Psy\Shell)) #4 /Users/tesladethray/Pantheon/terminus/vendor/symfony/console/Application.php(122): Psy\Shell->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Psy\Output\ShellOutput)) #5 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/Shell.php(273): Symfony\Component\Console\App in /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php on line 63 Fatal error: Uncaught Error: Cannot re-assign $this in /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php:63 Stack trace: #0 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php(63): extract(Array) #1 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php(142): Pantheon\Terminus\Commands\Self\ConsoleCommand->Psy\ExecutionLoop\{closure}(Object(Psy\Shell)) #2 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/ForkingLoop.php(79): Psy\ExecutionLoop\Loop->run(Object(Psy\Shell)) #3 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/Shell.php(308): Psy\ExecutionLoop\ForkingLoop->run(Object(Psy\Shell)) #4 /Users/tesladethray/Pantheon/terminus/vendor/symfony/console/Application.php(122): Psy\Shell->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Psy\Output\ShellOutput)) #5 /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/Shell.php(273): Symfony\Component\Console\App in /Users/tesladethray/Pantheon/terminus/vendor/psy/psysh/src/Psy/ExecutionLoop/Loop.php on line 63
Run self:console on master
self:console
The text was updated successfully, but these errors were encountered:
This only happens in 7.1.
Sorry, something went wrong.
Open issue on PSYSH repo: bobthecow/psysh#345
Closed by #1599 Reimplementation issue is #1601
TeslaDethray
No branches or pull requests
Expected behavior
I expect the console command to work and not throw errors.
Actual behavior
Steps to reproduce the behavior
Run
self:console
on masterThe text was updated successfully, but these errors were encountered: