@@ -148,7 +148,7 @@  | 
                                                    ||
| 148 | 148 | }  | 
                                                        
| 149 | 149 | |
| 150 | 150 | /**  | 
                                                        
| 151 | - * @param $callable  | 
                                                        |
| 151 | + * @param \Closure $callable  | 
                                                        |
| 152 | 152 | */  | 
                                                        
| 153 | 153 | public function catchIO($callable)  | 
                                                        
| 154 | 154 |      { | 
                                                        
@@ -356,7 +356,7 @@  | 
                                                    ||
| 356 | 356 | * Iterate other hosts, allowing to call run func in callback.  | 
                                                        
| 357 | 357 | *  | 
                                                        
| 358 | 358 | * @experimental  | 
                                                        
| 359 | - * @param Host|Host[] $hosts  | 
                                                        |
| 359 | + * @param Host[] $hosts  | 
                                                        |
| 360 | 360 | * @param callable $callback  | 
                                                        
| 361 | 361 | */  | 
                                                        
| 362 | 362 | function on($hosts, callable $callback)  | 
                                                        
@@ -8,7 +8,6 @@  | 
                                                    ||
| 8 | 8 | namespace Deployer;  | 
                                                        
| 9 | 9 | |
| 10 | 10 | use Deployer\Exception\Exception;  | 
                                                        
| 11 | -use Deployer\Exception\RunException;  | 
                                                        |
| 12 | 11 | use Deployer\Host\FileLoader;  | 
                                                        
| 13 | 12 | use Deployer\Host\Host;  | 
                                                        
| 14 | 13 | use Deployer\Host\Localhost;  | 
                                                        
@@ -14,6 +14,7 @@  | 
                                                    ||
| 14 | 14 | *  | 
                                                        
| 15 | 15 | * @param string $format The format.  | 
                                                        
| 16 | 16 | * @param mixed $value,... The value(s).  | 
                                                        
| 17 | + * @param string $value  | 
                                                        |
| 17 | 18 | *  | 
                                                        
| 18 | 19 | * @return Exception The exception.  | 
                                                        
| 19 | 20 | */  | 
                                                        
@@ -10,7 +10,6 @@  | 
                                                    ||
| 10 | 10 | use Deployer\Collection\PersistentCollection;  | 
                                                        
| 11 | 11 | use Deployer\Deployer;  | 
                                                        
| 12 | 12 | use Deployer\Exception\GracefulShutdownException;  | 
                                                        
| 13 | -use Deployer\Exception\NonFatalException;  | 
                                                        |
| 14 | 13 | use Deployer\Task\Context;  | 
                                                        
| 15 | 14 | use Symfony\Component\Console\Input\InputArgument;  | 
                                                        
| 16 | 15 | use Symfony\Component\Console\Input\InputInterface;  | 
                                                        
@@ -11,13 +11,11 @@ discard block  | 
                                                    ||
| 11 | 11 | use Deployer\Component\Ssh\Client;  | 
                                                        
| 12 | 12 | use Deployer\Configuration\Configuration;  | 
                                                        
| 13 | 13 | use Deployer\Console\Application;  | 
                                                        
| 14 | -use Deployer\Console\AutocompleteCommand;  | 
                                                        |
| 15 | 14 | use Deployer\Console\CommandEvent;  | 
                                                        
| 16 | 15 | use Deployer\Console\TreeCommand;  | 
                                                        
| 17 | 16 | use Deployer\Console\DiceCommand;  | 
                                                        
| 18 | 17 | use Deployer\Console\InitCommand;  | 
                                                        
| 19 | 18 | use Deployer\Executor\Status;  | 
                                                        
| 20 | -use Deployer\Console\Output\OutputWatcher;  | 
                                                        |
| 21 | 19 | use Deployer\Console\RunCommand;  | 
                                                        
| 22 | 20 | use Deployer\Console\SshCommand;  | 
                                                        
| 23 | 21 | use Deployer\Console\TaskCommand;  | 
                                                        
@@ -35,7 +33,6 @@ discard block  | 
                                                    ||
| 35 | 33 | use Symfony\Component\Console;  | 
                                                        
| 36 | 34 | use Symfony\Component\Console\Input\ArgvInput;  | 
                                                        
| 37 | 35 | use Symfony\Component\Console\Output\ConsoleOutput;  | 
                                                        
| 38 | -use Symfony\Component\Console\Style\SymfonyStyle;  | 
                                                        |
| 39 | 36 | |
| 40 | 37 | /**  | 
                                                        
| 41 | 38 | * Deployer class represents DI container for configuring  | 
                                                        
@@ -56,11 +56,17 @@ discard block  | 
                                                    ||
| 56 | 56 | return $this->config->has($name);  | 
                                                        
| 57 | 57 | }  | 
                                                        
| 58 | 58 | |
| 59 | + /**  | 
                                                        |
| 60 | + * @param integer $default  | 
                                                        |
| 61 | + */  | 
                                                        |
| 59 | 62 | public function get(string $name, $default = null)  | 
                                                        
| 60 | 63 |      { | 
                                                        
| 61 | 64 | return $this->config->get($name, $default);  | 
                                                        
| 62 | 65 | }  | 
                                                        
| 63 | 66 | |
| 67 | + /**  | 
                                                        |
| 68 | + * @return string  | 
                                                        |
| 69 | + */  | 
                                                        |
| 64 | 70 | public function alias()  | 
                                                        
| 65 | 71 |      { | 
                                                        
| 66 | 72 |          return $this->config->get('alias'); | 
                                                        
@@ -76,16 +82,25 @@ discard block  | 
                                                    ||
| 76 | 82 |          return $this->config->get('user'); | 
                                                        
| 77 | 83 | }  | 
                                                        
| 78 | 84 | |
| 85 | + /**  | 
                                                        |
| 86 | + * @return null|string  | 
                                                        |
| 87 | + */  | 
                                                        |
| 79 | 88 | public function port()  | 
                                                        
| 80 | 89 |      { | 
                                                        
| 81 | 90 |          return $this->config->get('port'); | 
                                                        
| 82 | 91 | }  | 
                                                        
| 83 | 92 | |
| 93 | + /**  | 
                                                        |
| 94 | + * @return null|string  | 
                                                        |
| 95 | + */  | 
                                                        |
| 84 | 96 | public function configFile()  | 
                                                        
| 85 | 97 |      { | 
                                                        
| 86 | 98 |          return $this->config->get('config_file'); | 
                                                        
| 87 | 99 | }  | 
                                                        
| 88 | 100 | |
| 101 | + /**  | 
                                                        |
| 102 | + * @return null|string  | 
                                                        |
| 103 | + */  | 
                                                        |
| 89 | 104 | public function identityFile()  | 
                                                        
| 90 | 105 |      { | 
                                                        
| 91 | 106 |          return $this->config->get('identity_file'); |