Completed
Pull Request — master (#499)
by .
03:00
created
src/Collection/Collection.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,6 @@
 block discarded – undo
11 11
 use Robo\Exception\TaskException;
12 12
 use Robo\Exception\TaskExitException;
13 13
 use Robo\Contract\CommandInterface;
14
-
15
-
16
-use Robo\Common\ProgressIndicatorAwareTrait;
17 14
 use Robo\Contract\InflectionInterface;
18 15
 
19 16
 /**
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      *
194 194
      * @param string $method
195 195
      * @param string $name
196
-     * @param callable|TaskInterface $task
196
+     * @param callable $task
197 197
      * @param string $nameOfTaskToAdd
198 198
      *
199 199
      * @return $this
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Return the list of task names added to this collection.
264 264
      *
265
-     * @return array
265
+     * @return integer[]
266 266
      */
267 267
     public function taskNames()
268 268
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
     }
336 336
 
337 337
     /**
338
-     * @param int|string $name
338
+     * @param string $name
339 339
      * @param \Robo\Collection\Element $taskGroup
340 340
      *
341 341
      * @return $this
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
     }
622 622
 
623 623
     /**
624
-     * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
624
+     * @param TaskInterface $task
625 625
      *
626 626
      * @return \Robo\Result
627 627
      */
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
 
639 639
     /**
640 640
      * @param TaskInterface|NestedCollectionInterface|WrappedTaskInterface $task
641
-     * @param $parentCollection
641
+     * @param CollectionInterface $parentCollection
642 642
      */
643 643
     protected function setParentCollectionForTask($task, $parentCollection)
644 644
     {
Please login to merge, or discard this patch.
src/Collection/Temporary.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Robo\Collection;
4 4
 
5
-use Robo\Contract\TaskInterface;
6
-
7 5
 /**
8 6
  * The temporary collection keeps track of the global collection of
9 7
  * temporary cleanup tasks in instances where temporary-generating
Please login to merge, or discard this patch.
src/Log/ResultPrinter.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,10 @@
 block discarded – undo
2 2
 namespace Robo\Log;
3 3
 
4 4
 use Robo\Result;
5
-use Robo\TaskInfo;
6 5
 use Robo\Contract\PrintedInterface;
7 6
 use Robo\Contract\ProgressIndicatorAwareInterface;
8 7
 use Robo\Common\ProgressIndicatorAwareTrait;
9
-
10 8
 use Psr\Log\LogLevel;
11
-use Psr\Log\LoggerInterface;
12 9
 use Psr\Log\LoggerAwareInterface;
13 10
 use Psr\Log\LoggerAwareTrait;
14 11
 use Consolidation\Log\ConsoleLogLevel;
Please login to merge, or discard this patch.
src/Result.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Robo;
3 3
 
4 4
 use Robo\Contract\TaskInterface;
5
-use Robo\Contract\LogResultInterface;
6 5
 use Robo\Exception\TaskExitException;
7 6
 
8 7
 class Result extends ResultData
Please login to merge, or discard this patch.
src/Task/Development/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @param string|array $url
70
+     * @param string[] $url
71 71
      * @return OpenBrowser
72 72
      */
73 73
     protected function taskOpenBrowser($url)
Please login to merge, or discard this patch.
src/Task/Development/PackPhar.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 namespace Robo\Task\Development;
3 3
 
4 4
 use Robo\Contract\ProgressIndicatorAwareInterface;
5
-use Robo\Common\ProgressIndicatorAwareTrait;
6 5
 use Robo\Contract\PrintedInterface;
7 6
 use Robo\Result;
8 7
 use Robo\Task\BaseTask;
Please login to merge, or discard this patch.
src/Task/File/TmpFile.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Robo\Task\File;
4 4
 
5
-use Robo\Collection\Collection;
6 5
 use Robo\Contract\CompletionInterface;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Task/Filesystem/loadTasks.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Robo\Task\Filesystem;
3 3
 
4
-use Robo\Collection\Temporary;
5
-
6 4
 trait loadTasks
7 5
 {
8 6
     /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     }
17 17
 
18 18
     /**
19
-     * @param string|string[] $dirs
19
+     * @param string $dirs
20 20
      *
21 21
      * @return \Robo\Task\Filesystem\DeleteDir
22 22
      */
Please login to merge, or discard this patch.
src/Task/Simulator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Robo\Contract\TaskInterface;
7 7
 use Robo\Contract\SimulatedInterface;
8 8
 use Robo\Log\RoboLogLevel;
9
-use Psr\Log\LogLevel;
10 9
 use Robo\Contract\CommandInterface;
11 10
 
12 11
 class Simulator extends BaseTask implements CommandInterface
Please login to merge, or discard this patch.