Completed
Push — master ( 55d707...3e0afc )
by Greg
02:16
created
src/Config/Config.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\Config;
3 3
 
4 4
 use Consolidation\Config\Util\ConfigOverlay;
5
-use Consolidation\Config\ConfigInterface;
6 5
 
7 6
 class Config extends ConfigOverlay implements GlobalOptionDefaultValuesInterface
8 7
 {
Please login to merge, or discard this patch.
tests/unit/Task/WatchTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
         $task->monitor(
40 40
             'src',
41
-            function () {
41
+            function() {
42 42
                 //do nothing
43 43
             },
44 44
             1 // CREATE
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
         $task->monitor(
55 55
             'src',
56
-            function () {
56
+            function() {
57 57
                 //do nothing
58 58
             },
59 59
             [
Please login to merge, or discard this patch.
tests/unit/Task/SemVerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     public function testSemverParseFileWithWindowsLineEndings()
52 52
     {
53 53
         $fixturePath = tempnam(sys_get_temp_dir(), 'semver');
54
-        $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir().'.semver'));
54
+        $semverFile = str_replace("\n", "\r\n", file_get_contents(codecept_data_dir() . '.semver'));
55 55
         file_put_contents($fixturePath, $semverFile);
56 56
 
57 57
         $res = (new \Robo\Task\Development\SemVer($fixturePath))
Please login to merge, or discard this patch.
examples/src/Robo/Plugin/Commands/StdinCommands.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
     /**
13 13
      * @command cat
14
-     * @param string $file
15 14
      * @default $file -
16 15
      */
17 16
     public function cat(InputInterface $input)
Please login to merge, or discard this patch.
src/GlobalOptionsEventListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
      *
131 131
      * @param string $value
132 132
      *
133
-     * @return array
133
+     * @return boolean[]
134 134
      */
135 135
     protected function splitConfigKeyValue($value)
136 136
     {
Please login to merge, or discard this patch.
src/Runner.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     }
137 137
 
138 138
     /**
139
-     * @param array $argv
139
+     * @param string[] $argv
140 140
      * @param null|string $appName
141 141
      * @param null|string $appVersion
142 142
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      * @param null|\Symfony\Component\Console\Input\InputInterface $input
176 176
      * @param null|\Symfony\Component\Console\Output\OutputInterface $output
177 177
      * @param null|\Robo\Application $app
178
-     * @param array[] $commandFiles
178
+     * @param null|string $commandFiles
179 179
      * @param null|ClassLoader $classLoader
180 180
      *
181 181
      * @return int
@@ -535,7 +535,7 @@  discard block
 block discarded – undo
535 535
     }
536 536
 
537 537
     /**
538
-     * @param $selfUpdateRepository
538
+     * @param null|string $selfUpdateRepository
539 539
      *
540 540
      * @return $this
541 541
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     public function __construct($roboClass = null, $roboFile = null)
82 82
     {
83 83
         // set the const as class properties to allow overwriting in child classes
84
-        $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS ;
84
+        $this->roboClass = $roboClass ? $roboClass : self::ROBOCLASS;
85 85
         $this->roboFile  = $roboFile ? $roboFile : self::ROBOFILE;
86 86
         $this->dir = getcwd();
87 87
     }
Please login to merge, or discard this patch.
src/Task/Base/loadTasks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 trait loadTasks
5 5
 {
6 6
     /**
7
-     * @param string|\Robo\Contract\CommandInterface $command
7
+     * @param string $command
8 8
      *
9 9
      * @return \Robo\Task\Base\Exec|\Robo\Collection\CollectionBuilder
10 10
      */
Please login to merge, or discard this patch.
src/Task/Base/ParallelExec.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param string|\Robo\Contract\CommandInterface $command
73
+     * @param string $command
74 74
      *
75 75
      * @return $this
76 76
      */
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
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param string|array $url
78
+     * @param string[] $url
79 79
      *
80 80
      * @return \Robo\Task\Development\OpenBrowser|\Robo\Collection\CollectionBuilder
81 81
      */
Please login to merge, or discard this patch.