bobthecow/psysh

Call to undefined method Symfony/Component/Console/Helper/TableStyle::setVerticalBorderChar()

Closed this issue · 2 comments

This seems like it may be related in some way to #559.

% composer global require psy/psysh
Changed current directory to /Users/matt/.composer
Using version ^0.9.12 for psy/psysh
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 11 installs, 0 updates, 0 removals
  - Installing jakub-onderka/php-console-color (v0.2): Downloading (100%)
  - Installing jakub-onderka/php-console-highlighter (v0.4): Downloading (100%)
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Downloading (100%)
  - Installing nikic/php-parser (v4.3.0): Downloading (100%)
  - Installing symfony/polyfill-mbstring (v1.13.1): Loading from cache
  - Installing symfony/var-dumper (v5.0.4): Downloading (100%)
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/service-contracts (v2.0.1): Loading from cache
  - Installing symfony/polyfill-php73 (v1.13.1): Loading from cache
  - Installing symfony/console (v5.0.4): Downloading (100%)
  - Installing psy/psysh (v0.9.12): Downloading (100%)
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
symfony/console suggests installing psr/log (For using the console logger)
psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
Writing lock file
Generating autoload files
% ~/.composer/vendor/bin/psysh
Psy Shell v0.9.12 (PHP 7.3.9 — cli) by Justin Hileman
>>> help
PHP Error:  Call to undefined method Symfony/Component/Console/Helper/TableStyle::setVerticalBorderChar() in /Users/matt/.composer/vendor/psy/psysh/src/Command/Command.php on line 256
>>>
dbrw commented

affects me as well, do you have work around for this?

It's fixed in dev. Use psy/psysh@dev until the next stable release :)