Fix phpstan wf #1627
Annotations
9 errors
phpstan:
src/Command/BlackjackCommand.php#L1
Ignored error pattern #^If condition is always true\.$# in path /home/runner/work/deployer/deployer/src/Command/BlackjackCommand.php was not matched in reported errors.
|
phpstan:
src/Command/BlackjackCommand.php#L102
Elseif branch is unreachable because previous condition is always true.
|
phpstan:
src/Command/BlackjackCommand.php#L102
Elseif condition is always true.
|
phpstan:
src/Command/SshCommand.php#L83
Call to an undefined method Symfony\Component\Console\Helper\HelperInterface::ask().
|
phpstan:
src/Component/PharUpdate/Console/Command.php#L105
Return type mixed of method Deployer\Component\PharUpdate\Console\Command::execute() is not covariant with return type int of method Symfony\Component\Console\Command\Command::execute().
|
phpstan:
src/Component/PharUpdate/Version/Comparator.php#L161
Negated boolean expression is always true.
|
phpstan:
src/Executor/Master.php#L29
Binary operation "/" between non-falsy-string and 100000.0 results in an error.
|
phpstan:
src/Utility/Rsync.php#L59
Offset 'options' on array{timeout: int|null, options: array, flags: string, progress_bar: bool, display_stats: bool} on left side of ?? always exists and is not nullable.
|
phpstan
Process completed with exit code 1.
|