Completed
Pull Request — master (#604)
by Greg
02:48
created
tests/unit/RunnerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -267,7 +267,7 @@
 block discarded – undo
267 267
         //     "Robo\\RoboPlugin\\":"tests/robo-command-plugin"
268 268
         $path = dirname(__DIR__) . '/robo-command-plugin';
269 269
         $prefixes = [
270
-            'Robo\\RoboPlugin\\' => [ $path ],
270
+            'Robo\\RoboPlugin\\' => [$path],
271 271
         ];
272 272
         include("$path/Commands/RoboTestPluginCommands.php");
273 273
 
Please login to merge, or discard this patch.
examples/ExampleCommands.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\Example\RoboPlugin;
3 3
 
4 4
 use Robo\Result;
5
-
6 5
 use Consolidation\AnnotatedCommand\CommandData;
7 6
 use Consolidation\OutputFormatters\Options\FormatterOptions;
8 7
 use Consolidation\OutputFormatters\StructuredData\RowsOfFields;
Please login to merge, or discard this patch.
src/Runner.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
         $this->dir = getcwd();
65 65
     }
66 66
 
67
+    /**
68
+     * @param string $errorType
69
+     */
67 70
     protected function errorCondtion($msg, $errorType)
68 71
     {
69 72
         $this->errorConditions[$msg] = $errorType;
@@ -104,7 +107,7 @@  discard block
 block discarded – undo
104 107
     }
105 108
 
106 109
     /**
107
-     * @param array $argv
110
+     * @param string[] $argv
108 111
      * @param null|string $appName
109 112
      * @param null|string $appVersion
110 113
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
@@ -194,6 +197,9 @@  discard block
 block discarded – undo
194 197
         return $this;
195 198
     }
196 199
 
200
+    /**
201
+     * @param string $namespacePattern
202
+     */
197 203
     public function setCommandFilePluginPattern($namespacePattern)
198 204
     {
199 205
         $this->namespacePattern = $namespacePattern;
Please login to merge, or discard this patch.