Completed
Push — master ( efbf0d...f7f76b )
by Jeroen
9s
created
src/Webcreate/Conveyor/IO/ConsoleIO.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     }
74 74
 
75 75
     /**
76
-     * @param string|array $messages
76
+     * @param string $messages
77 77
      * @return string|array
78 78
      */
79 79
     protected function applyIndention($messages)
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Repository/Driver/AbstractVcsDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param $url
42
+     * @param string $url
43 43
      * @return VcsInterface
44 44
      */
45 45
     abstract protected function getClient($url);
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Task/ShellTask.php 1 patch
Unused Use Statements   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,11 +13,10 @@
 block discarded – undo
13 13
 
14 14
 use Symfony\Component\Process\Exception\ProcessFailedException;
15 15
 use Symfony\Component\Process\Process;
16
-
17
-use Webcreate\Conveyor\Task\Result\ExecuteResult;
18
-use Webcreate\Util\Cli;
19 16
 use Webcreate\Conveyor\IO\IOInterface;
20 17
 use Webcreate\Conveyor\Repository\Version;
18
+use Webcreate\Conveyor\Task\Result\ExecuteResult;
19
+use Webcreate\Util\Cli;
21 20
 
22 21
 class ShellTask extends Task
23 22
 {
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Task/SshTask.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
93 93
         $this->output(sprintf('Executing: <comment>%s</comment>', $command));
94 94
     }
95 95
 
96
+    /**
97
+     * @param Version $version
98
+     */
96 99
     protected function getCommand($target, $version, $command)
97 100
     {
98 101
         $basepath = $path = $this->transporter->getPath();
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Task/Task.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
     protected $output;
24 24
     protected $options;
25 25
 
26
+    /**
27
+     * @param string $target
28
+     */
26 29
     abstract public function execute($target, Version $version);
27 30
 
28 31
     public function supports($target, Version $version)
@@ -33,6 +36,9 @@  discard block
 block discarded – undo
33 36
         );
34 37
     }
35 38
 
39
+    /**
40
+     * @param string $target
41
+     */
36 42
     public function simulate($target, Version $version)
37 43
     {
38 44
     }
@@ -58,7 +64,7 @@  discard block
 block discarded – undo
58 64
      * @todo validate $name
59 65
      *
60 66
      * @param string $name
61
-     * @param $value
67
+     * @param string $value
62 68
      * @return Task
63 69
      */
64 70
     public function setOption($name, $value)
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Task/TaskRunner.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@  discard block
 block discarded – undo
80 80
         return $this->tasks;
81 81
     }
82 82
 
83
+    /**
84
+     * @param \Webcreate\Conveyor\Transporter\AbstractTransporter $transporter
85
+     */
83 86
     public function setTransporter($transporter)
84 87
     {
85 88
         $this->transporter = $transporter;
@@ -88,6 +91,10 @@  discard block
 block discarded – undo
88 91
         // @todo remove this because it's plain wrong!
89 92
         array_walk(
90 93
             $this->tasks,
94
+
95
+            /**
96
+             * @param \Webcreate\Conveyor\Transporter\AbstractTransporter $task
97
+             */
91 98
             function ($task) use ($transporter) {
92 99
                 if ($task instanceof TransporterAwareInterface) {
93 100
                     $task->setTransporter($transporter);
Please login to merge, or discard this patch.
src/Webcreate/Conveyor/Transporter/SftpTransporter.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,15 +11,15 @@
 block discarded – undo
11 11
 
12 12
 namespace Webcreate\Conveyor\Transporter;
13 13
 
14
-use phpseclib\Crypt\RSA;
15
-use phpseclib\Net\SFTP as PhpseclibSFTP;
16
-use phpseclib\System\SSH\Agent;
17 14
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
18 15
 use Symfony\Component\Finder\Finder;
19 16
 use Webcreate\Conveyor\Event\TransporterEvent;
20 17
 use Webcreate\Conveyor\Event\TransporterEvents;
21 18
 use Webcreate\Conveyor\IO\IOInterface;
22 19
 use Webcreate\Conveyor\Transporter\Ftp\Sftp;
20
+use phpseclib\Crypt\RSA;
21
+use phpseclib\Net\SFTP as PhpseclibSFTP;
22
+use phpseclib\System\SSH\Agent;
23 23
 
24 24
 /**
25 25
  * @todo refactor the injection of the IOInterface to a event-based solution?
Please login to merge, or discard this patch.