Completed
Push — master ( a20e35...2a3e96 )
by Greg
03:21
created
src/Task/Testing/Phpspec.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
      */
38 38
     protected $verbose_levels = ['v', 'vv', 'vvv'];
39 39
 
40
+    /**
41
+     * @param string $pathToPhpspec
42
+     */
40 43
     public function __construct($pathToPhpspec = null)
41 44
     {
42 45
         $this->command = $pathToPhpspec;
@@ -94,6 +97,9 @@  discard block
 block discarded – undo
94 97
         return $this;
95 98
     }
96 99
 
100
+    /**
101
+     * @param string $formater
102
+     */
97 103
     public function format($formater)
98 104
     {
99 105
         if (!in_array($formater, $this->formaters)) {
Please login to merge, or discard this patch.
src/Task/Testing/PHPUnit.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
      */
36 36
     protected $files = '';
37 37
 
38
+    /**
39
+     * @param string $pathToPhpUnit
40
+     */
38 41
     public function __construct($pathToPhpUnit = null)
39 42
     {
40 43
         $this->command = $pathToPhpUnit;
Please login to merge, or discard this patch.
src/Task/Assets/loadTasks.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@  discard block
 block discarded – undo
4 4
 trait loadTasks
5 5
 {
6 6
     /**
7
-    * @param string $input
8
-    *
7
+     * @param string $input
8
+     *
9 9
      * @return \Robo\Task\Assets\Minify
10
-    */
10
+     */
11 11
     protected function taskMinify($input)
12 12
     {
13 13
         return $this->task(Minify::class, $input);
@@ -23,11 +23,11 @@  discard block
 block discarded – undo
23 23
         return $this->task(ImageMinify::class, $input);
24 24
     }
25 25
 
26
-   /**
27
-    * @param array $input
28
-    *
29
-    * @return \Robo\Task\Assets\Less
30
-    */
26
+    /**
27
+     * @param array $input
28
+     *
29
+     * @return \Robo\Task\Assets\Less
30
+     */
31 31
     protected function taskLess($input)
32 32
     {
33 33
         return $this->task(Less::class, $input);
Please login to merge, or discard this patch.
src/Task/Remote/Rsync.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -353,7 +353,7 @@
 block discarded – undo
353 353
     }
354 354
 
355 355
     /**
356
-     * @param array|string $pattern
356
+     * @param string[] $pattern
357 357
      *
358 358
      * @return $this
359 359
      */
Please login to merge, or discard this patch.
tests/unit/Task/HgTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use AspectMock\Test as test;
4
-
5 3
 class HgTest extends \Codeception\TestCase\Test
6 4
 {
7 5
     /**
Please login to merge, or discard this patch.
tests/unit/Common/CommandArgumentsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      *
80 80
      * @covers ::args
81 81
      *
82
-     * @param string $expected
82
+     * @param string $expectedLinux
83 83
      * @param array $args
84 84
      */
85 85
     public function testArgs($expectedLinux, $expectedWindows, $args)
Please login to merge, or discard this patch.
src/Common/ExecCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     protected function findProjectBin()
90 90
     {
91 91
         $cwd = getcwd();
92
-        $candidates = [ __DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin' ];
92
+        $candidates = [__DIR__ . '/../../vendor/bin', __DIR__ . '/../../bin', $cwd . '/vendor/bin'];
93 93
 
94 94
         // If this project is inside a vendor directory, give highest priority
95 95
         // to that directory.
Please login to merge, or discard this patch.
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
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Robo\Task\Base;
3 3
 
4
-use Robo\Common\ExecTrait;
5 4
 use Robo\Contract\CommandInterface;
6 5
 use Robo\Contract\PrintedInterface;
7 6
 use Robo\Contract\SimulatedInterface;
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 OpenBrowser
81 81
      */
Please login to merge, or discard this patch.