deployer: [BUG] Fatal error for tasks without description (PHP7.4, symfony/console ^5.0)

image

<?php
namespace Deployer;

task('test', function(){});
{
    "require": {
        "symfony/console": "^5.0",
        "deployer/deployer": "^6.7"
    }
}

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (8 by maintainers)

Most upvoted comments

composer require --dev phpstan/phpstan (or any other static code analyzer) will help you analyze code and fix bugs

вс, 15 дек. 2019 г., 13:30 Anton Medvedev notifications@github.com:

Yeah. Looks like PR for symphony 5 was incomplete.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/deployphp/deployer/issues/1969?email_source=notifications&email_token=AAG3E2ZSETDODR6SWHE4O73QYYBM3A5CNFSM4J22TMS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG4V6MQ#issuecomment-565796658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG3E22MEMLE2XAHXZWFVX3QYYBM3ANCNFSM4J22TMSQ .

Working on it too)

currently (6.7.1) ssh cleanup doesn’t work 😦

➤ Executing task cleanup

 [TypeError] Argument 1 passed to Symfony\Component\Process\Process::__construct() 
must be of the type array, string given
called in /tmp/test/vendor/deployer/deployer/src/Ssh/Client.php on line 149

and psalm detects 7 errors in Ssh\Client.php image