Completed
Push — master ( 2fa00d...5efdd3 )
by Greg
03:04
created
src/Log/ResultPrinter.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @param \Robo\Result $result
29 29
      *
30
-     * @return bool
30
+     * @return null|boolean
31 31
      */
32 32
     public function printResult(Result $result)
33 33
     {
Please login to merge, or discard this 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\ProgressIndicatorAwareInterface;
7 7
 use Robo\Contract\VerbosityThresholdInterface;
8 8
 use Robo\Common\ProgressIndicatorAwareTrait;
9
-
10 9
 use Psr\Log\LogLevel;
11 10
 use Psr\Log\LoggerAwareInterface;
12 11
 use Psr\Log\LoggerAwareTrait;
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/Collection/CollectionBuilder.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -140,15 +140,15 @@
 block discarded – undo
140 140
         return $this;
141 141
     }
142 142
 
143
-  /**
144
-   * Add arbitrary code to execute as a task.
145
-   *
146
-   * @see \Robo\Collection\CollectionInterface::addCode
147
-   *
148
-   * @param callable $code
149
-   * @param int|string $name
150
-   * @return $this
151
-   */
143
+    /**
144
+     * Add arbitrary code to execute as a task.
145
+     *
146
+     * @see \Robo\Collection\CollectionInterface::addCode
147
+     *
148
+     * @param callable $code
149
+     * @param int|string $name
150
+     * @return $this
151
+     */
152 152
     public function addCode(callable $code, $name = \Robo\Collection\CollectionInterface::UNNAMEDTASK)
153 153
     {
154 154
         $this->getCollection()->addCode($code, $name);
Please login to merge, or discard this patch.
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -76,6 +76,10 @@  discard block
 block discarded – undo
76 76
         $this->resetState();
77 77
     }
78 78
 
79
+    /**
80
+     * @param \League\Container\ContainerInterface $container
81
+     * @param BuilderAwareInterface $commandFile
82
+     */
79 83
     public static function create($container, $commandFile)
80 84
     {
81 85
         $builder = new self($commandFile);
@@ -284,6 +288,9 @@  discard block
 block discarded – undo
284 288
         return $this->callCollectionStateFuntion(__FUNCTION__, func_get_args());
285 289
     }
286 290
 
291
+    /**
292
+     * @param string $functionName
293
+     */
287 294
     protected function callCollectionStateFuntion($functionName, $args)
288 295
     {
289 296
         $currentTask = ($this->currentTask instanceof WrappedTaskInterface) ? $this->currentTask->original() : $this->currentTask;
Please login to merge, or discard this patch.
src/Common/ProcessExecutor.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@
 block discarded – undo
24 24
         $this->process = $process;
25 25
     }
26 26
 
27
+    /**
28
+     * @param \League\Container\ContainerInterface $container
29
+     * @param Process $process
30
+     */
27 31
     public static function create($container, $process)
28 32
     {
29 33
         $processExecutor = new self($process);
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/unit/AAA_RunnerErrorTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 use Robo\Robo;
3 3
 
4
-use Robo\Config\ConfigProcessor;
5
-use Robo\Config\YamlConfigLoader;
6
-
7 4
 /**
8 5
  * This test must run first. :(
9 6
  */
Please login to merge, or discard this patch.
tests/unit/ConfigurationInjectionTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 use Robo\Robo;
3
-
4 3
 use Robo\Config\ConfigProcessor;
5 4
 use Robo\Config\YamlConfigLoader;
6 5
 
Please login to merge, or discard this patch.
tests/unit/RunnerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 use Robo\Robo;
3 3
 
4
-use Robo\Config\ConfigProcessor;
5
-use Robo\Config\YamlConfigLoader;
6
-
7 4
 class RunnerTest extends \Codeception\TestCase\Test
8 5
 {
9 6
     /**
Please login to merge, or discard this patch.
src/Config/ConfigProcessor.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,6 @@
 block discarded – undo
128 128
     /**
129 129
      * Evaluate one configuration item.
130 130
      *
131
-     * @param array $processed
132 131
      * @param array $config
133 132
      * @return array
134 133
      */
Please login to merge, or discard this patch.