Completed
Push — master ( 55d707...3e0afc )
by Greg
02:16
created
src/Task/Base/Exec.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     protected $command;
44 44
 
45 45
     /**
46
-     * @param string|\Robo\Contract\CommandInterface $command
46
+     * @param string $command
47 47
      */
48 48
     public function __construct($command)
49 49
     {
Please login to merge, or discard this 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\Base;
4 4
 
5
-use Robo\Common\ExecTrait;
6 5
 use Robo\Contract\CommandInterface;
7 6
 use Robo\Contract\PrintedInterface;
8 7
 use Robo\Contract\SimulatedInterface;
Please login to merge, or discard this patch.
src/Task/Testing/Codecept.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Robo\Exception\TaskException;
6 6
 use Robo\Task\BaseTask;
7 7
 use Robo\Contract\CommandInterface;
8
-use Symfony\Component\Process\Process;
9 8
 
10 9
 /**
11 10
  * Executes Codeception tests
Please login to merge, or discard this patch.
src/Task/Testing/Atoum.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,6 @@
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * Path to the bootstrap file.
86
-
87 86
      * @param string $file
88 87
      *
89 88
      * @return $this
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Tag or Tags to filter.
50 50
      *
51
-     * @param string|string[] $tags
51
+     * @param string $tags
52 52
      *
53 53
      * @return $this
54 54
      */
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
      * Test file or test files to run.
126 126
      *
127 127
      * @param string|string[]
128
+     * @param string[] $files
128 129
      *
129 130
      * @return $this
130 131
      */
@@ -138,6 +139,7 @@  discard block
 block discarded – undo
138 139
      *
139 140
      * @param string|string[]
140 141
      *   A single directory or a list of directories.
142
+     * @param string $directories
141 143
      *
142 144
      * @return $this
143 145
      */
Please login to merge, or discard this patch.
src/Task/Development/OpenBrowser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function __construct($url)
37 37
     {
38
-        $this->urls = (array) $url;
38
+        $this->urls = (array)$url;
39 39
     }
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
src/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
      */
190 190
     public function cloneTask()
191 191
     {
192
-        $reflect  = new \ReflectionClass(get_class($this->task));
192
+        $reflect = new \ReflectionClass(get_class($this->task));
193 193
         return $reflect->newInstanceArgs(func_get_args());
194 194
     }
195 195
 
Please login to merge, or discard this patch.
src/Common/ExecTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
         $this->process = $process;
248 248
 
249 249
         if (!$output_callback) {
250
-            $output_callback = function ($type, $buffer) {
250
+            $output_callback = function($type, $buffer) {
251 251
                 $progressWasVisible = $this->hideTaskProgress();
252 252
                 $this->writeMessage($buffer);
253 253
                 $this->showTaskProgress($progressWasVisible);
Please login to merge, or discard this patch.
src/Task/ApiGen/ApiGen.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         if (!is_array($args)) {
72 72
             $args = func_get_args();
73 73
         }
74
-        $args = array_map(function ($arg) {
74
+        $args = array_map(function($arg) {
75 75
             if (preg_match('/^\w+$/', trim($arg)) === 1) {
76 76
                 $this->operation = $arg;
77 77
                 return null;
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param array|string|\Traversable $src
168
+     * @param string $src
169 169
      *   One or more source values.
170 170
      *
171 171
      * @return $this
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
     }
191 191
 
192 192
     /**
193
-     * @param array|string $exts
193
+     * @param string $exts
194 194
      *   One or more extensions.
195 195
      *
196 196
      * @return $this
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     }
203 203
 
204 204
     /**
205
-     * @param array|string $exclude
205
+     * @param string[] $exclude
206 206
      *   One or more exclusions.
207 207
      *
208 208
      * @return $this
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param array|string|\Traversable $path
219
+     * @param \SplDoublyLinkedList $path
220 220
      *   One or more skip-doc-path values.
221 221
      *
222 222
      * @return $this
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @param array|string $charset
247
+     * @param string[] $charset
248 248
      *   One or more charsets.
249 249
      *
250 250
      * @return $this
Please login to merge, or discard this patch.
tests/src/RoboFileFixture.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Psr\Log\LoggerAwareTrait;
6 6
 use Psr\Log\LoggerAwareInterface;
7
-
8 7
 use Consolidation\AnnotatedCommand\Events\CustomEventAwareInterface;
9 8
 use Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait;
10 9
 use Consolidation\OutputFormatters\StructuredData\PropertyList;
Please login to merge, or discard this patch.
tests/_helpers/SeeInOutputTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
     protected $capturedOutput;
12 12
     protected $logger;
13 13
 
14
+    /**
15
+     * @param \League\Container\Container $container
16
+     */
14 17
     public function initSeeInOutputTrait($container, $input = null)
15 18
     {
16 19
         $this->capturedOutput = '';
@@ -65,6 +68,7 @@  discard block
 block discarded – undo
65 68
     /**
66 69
      * Make our output comparisons more platform-agnostic by converting
67 70
      * CRLF (Windows) or raw CR (confused output) to a LF (unix/Mac).
71
+     * @param string $output
68 72
      */
69 73
     protected function simplify($output)
70 74
     {
Please login to merge, or discard this patch.