Completed
Push — master ( 5b2853...904b84 )
by Ricardo
03:18
created
src/Tools/Plugin/Pahout.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Tools\Plugin;
4 4
 
5
-use Fabrica\Tools;
6
-use Fabrica\Tools\Builder;
7 5
 use Fabrica\Models\Infra\Ci\Build;
8 6
 use Fabrica\Models\Infra\Ci\BuildError;
7
+use Fabrica\Tools;
8
+use Fabrica\Tools\Builder;
9 9
 use Fabrica\Tools\Plugin;
10 10
 
11 11
 /**
Please login to merge, or discard this patch.
src/Tools/Plugin/PhpCpd.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * Process the PHPCPD XML report.
89 89
      *
90
-     * @param $xmlString
90
+     * @param string $xmlString
91 91
      *
92 92
      * @return int
93 93
      *
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Tools\Plugin;
4 4
 
5
-use Fabrica\Tools\Builder;
6 5
 use Fabrica\Models\Infra\Ci\Build;
7 6
 use Fabrica\Models\Infra\Ci\BuildError;
7
+use Fabrica\Tools\Builder;
8 8
 use Fabrica\Tools\Plugin;
9 9
 use Fabrica\Tools\ZeroConfigPluginInterface;
10 10
 
Please login to merge, or discard this patch.
src/Tools/Plugin/PhpCsFixer.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Tools\Plugin;
4 4
 
5
-use Fabrica\Tools\Builder;
6 5
 use Fabrica\Models\Infra\Ci\Build;
7 6
 use Fabrica\Models\Infra\Ci\BuildError;
7
+use Fabrica\Tools\Builder;
8 8
 use Fabrica\Tools\Plugin;
9 9
 use SebastianBergmann\Diff\Line;
10 10
 use SebastianBergmann\Diff\Parser;
Please login to merge, or discard this patch.
src/Tools/Plugin/Util/Executor.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      * Execute the list of plugins found for a given testing stage.
157 157
      *
158 158
      * @param  $plugins
159
-     * @param  $stage
159
+     * @param  string $stage
160 160
      * @return bool
161 161
      * @throws \Exception
162 162
      */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Tools\Plugin\Util;
4 4
 
5
-use Fabrica\Tools\Store\Factory as StoreFactory;
6 5
 use Exception;
7 6
 use Fabrica\Helper\Lang;
8
-use Fabrica\Tools\Logging\BuildLogger;
9 7
 use Fabrica\Models\Infra\Ci\Build;
8
+use Fabrica\Tools\Logging\BuildLogger;
10 9
 use Fabrica\Tools\Plugin;
11 10
 use Fabrica\Tools\Store\BuildStore;
11
+use Fabrica\Tools\Store\Factory as StoreFactory;
12 12
 
13 13
 /**
14 14
  * Plugin Executor - Runs the configured plugins for a given build stage.
Please login to merge, or discard this patch.
src/Tools/Plugin/Util/Factory.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @param string     $className
74 74
      * @param array|null $options
75 75
      *
76
-     * @return \PHPCensor\Plugin
76
+     * @return Plugin
77 77
      */
78 78
     public function buildPlugin($className, $options = [])
79 79
     {
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get an internal resource ID.
142 142
      *
143
-     * @param  null $type
144
-     * @param  null $name
143
+     * @param  string|null $type
144
+     * @param  string|null $name
145 145
      * @return string
146 146
      */
147 147
     private function getInternalID($type = null, $name = null)
Please login to merge, or discard this patch.
src/Tools/Plugin/Util/TestResultParsers/Codeception.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * The time take to complete all tests
121 121
      *
122
-     * @return mixed
122
+     * @return integer
123 123
      */
124 124
     public function getTotalTimeTaken()
125 125
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
     /**
130 130
      * A count of the test failures
131 131
      *
132
-     * @return mixed
132
+     * @return integer
133 133
      */
134 134
     public function getTotalFailures()
135 135
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Fabrica\Tools\Plugin\Util\TestResultParsers;
4 4
 
5
-use Fabrica\Tools\Builder;
6 5
 use Fabrica\Helper\Xml;
6
+use Fabrica\Tools\Builder;
7 7
 
8 8
 /**
9 9
  * Class Codeception
Please login to merge, or discard this patch.
src/Tools/Programs/Bash.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
         return 'type -P '.$program;
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $exec
40
+     */
38 41
     public function exec($exec, $sudo = false)
39 42
     {
40 43
         if ($sudo) {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Admin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -143,6 +143,7 @@
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * This internal method is used to create a process object.
146
+     * @param string $command
146 147
      */
147 148
     private static function getProcess($command, array $args = array(), array $options = array())
148 149
     {
Please login to merge, or discard this patch.
src/Tools/Programs/Git/Commit.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Constructor.
36 36
      *
37
-     * @param Fabrica\Tools\Programs\Git\Repository $repository Repository of the commit
37
+     * @param Repository $repository Repository of the commit
38 38
      * @param string                                $hash       Hash of the commit
39 39
      */
40 40
     public function __construct(Repository $repository, $hash, array $data = array())
@@ -342,6 +342,9 @@  discard block
 block discarded – undo
342 342
         return $this;
343 343
     }
344 344
 
345
+    /**
346
+     * @param string $name
347
+     */
345 348
     private function getData($name)
346 349
     {
347 350
         if (isset($this->data[$name])) {
Please login to merge, or discard this patch.