Completed
Pull Request — master (#499)
by .
03:00
created
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.
examples/RoboFile.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 class RoboFile extends \Robo\Tasks
17 17
 {
18
-   /**
18
+    /**
19 19
      * Watch a file.
20 20
      *
21 21
      * Demonstrates the 'watch' command. Runs 'composer update' any time
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         return false;
82 82
     }
83 83
 
84
+    /**
85
+     * @param string $message
86
+     */
84 87
     protected function printMessage($level, $message, $context = [])
85 88
     {
86 89
         $inProgress = $this->hideProgressIndicator();
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
@@ -73,7 +73,6 @@
 block discarded – undo
73 73
 
74 74
     /**
75 75
      * Path to the bootstrap file.
76
-
77 76
      * @param $file
78 77
      *
79 78
      * @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|array $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|array
128
+     * @param string[] $files
128 129
      *
129 130
      * @return $this
130 131
      */
@@ -137,6 +138,7 @@  discard block
 block discarded – undo
137 138
      * Test directory or directories to run.
138 139
      *
139 140
      * @param string|array A single directory or a list of directories.
141
+     * @param string $directories
140 142
      *
141 143
      * @return $this
142 144
      */
Please login to merge, or discard this patch.
src/Task/Filesystem/CopyDir.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         }
87 87
         while (false !== ($file = readdir($dir))) {
88 88
             if (in_array($file, $this->exclude)) {
89
-                 continue;
89
+                    continue;
90 90
             }
91 91
             if (($file !== '.') && ($file !== '..')) {
92 92
                 $srcFile = $src . '/' . $file;
Please login to merge, or discard this patch.
tests/_data/TestedRoboTask.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Constructor. This should not be documented
35 35
      *
36
-     * @param array|Iterator $files
37 36
      */
38 37
     public function __construct()
39 38
     {
@@ -44,7 +43,7 @@  discard block
 block discarded – undo
44 43
      *
45 44
      * @param string $dst
46 45
      *
47
-     * @return Concat The current instance
46
+     * @return TestedRoboTask The current instance
48 47
      */
49 48
     public function to($dst)
50 49
     {
Please login to merge, or discard this patch.
tests/_helpers/SeeInOutputTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
     protected $capturedOutput;
13 13
     protected $logger;
14 14
 
15
+    /**
16
+     * @param \League\Container\Container $container
17
+     */
15 18
     public function initSeeInOutputTrait($container, $input = null)
16 19
     {
17 20
         $this->capturedOutput = '';
Please login to merge, or discard this patch.
tests/unit/ApplicationTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -132,6 +132,9 @@
 block discarded – undo
132 132
         $this->assertNotNull($this->app->find('generate:user-avatar'));
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $name
137
+     */
135 138
     protected function createCommand($name)
136 139
     {
137 140
         $commandInfo = new CommandInfo($this->roboCommandFileInstance, $name);
Please login to merge, or discard this patch.
tests/unit/Task/CollectionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -145,6 +145,10 @@
 block discarded – undo
145 145
     protected $key;
146 146
     protected $value;
147 147
 
148
+    /**
149
+     * @param string $key
150
+     * @param string $value
151
+     */
148 152
     public function __construct($key, $value)
149 153
     {
150 154
         $this->key = $key;
Please login to merge, or discard this patch.
tests/unit/Task/GulpTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         ]);
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $expected
21
+     */
19 22
     protected function adjustQuotes($expected)
20 23
     {
21 24
         $isWindows = defined('PHP_WINDOWS_VERSION_MAJOR');
Please login to merge, or discard this patch.