You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using self:update to update Cachetool worked fine in the past. But since 6.1.1 (or since recently - only running self-update once a week) I get:
$ cachetool --version
CacheTool 6.1.1
$ cachetool -q self:update
Fatal error: Uncaught TypeError: Return value of "SelfUpdate\SelfUpdateCommand::execute()" must be of the type int, "null" returned. in phar:///usr/local/bin/cachetool.phar/vendor/symfony/console/Command/Command.php:258
Stack trace:
#0 phar:///usr/local/bin/cachetool.phar/vendor/symfony/console/Application.php(971): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))#1 phar:///usr/local/bin/cachetool.phar/src/Console/Application.php(141): Symfony\Component\Console\Application->doRunCommand(Object(SelfUpdate\SelfUpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))#2 phar:///usr/local/bin/cachetool.phar/vendor/symfony/console/Application.php(290): CacheTool\Console\Application->doRunCommand(Object(SelfUpdate\SelfUpdateCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))#3 phar:///usr/local in phar:///usr/local/bin/cachetool.phar/vendor/symfony/console/Command/Command.php on line 258
Using
self:update
to update Cachetool worked fine in the past. But since 6.1.1 (or since recently - only running self-update once a week) I get:This runs on a Debian Buster with PHP 7.4:
might be related to #172
BTW, could you please also introduce a
self-update
alias forself:update
, as most other tools (Composer, Symfony CLI,...) provide this.The text was updated successfully, but these errors were encountered: