@@ -156,7 +156,7 @@ |
||
| 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 | */ |
@@ -73,7 +73,7 @@ discard block |
||
| 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 |
||
| 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) |
@@ -119,7 +119,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -35,6 +35,9 @@ |
||
| 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) { |
@@ -143,6 +143,7 @@ |
||
| 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 | { |
@@ -34,7 +34,7 @@ discard block |
||
| 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 |
||
| 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])) { |
@@ -87,6 +87,7 @@ discard block |
||
| 87 | 87 | * @param string repository path |
| 88 | 88 | * @param bool create if not exists? |
| 89 | 89 | * @param bool initialize new Git repo if not exists? |
| 90 | + * @param string $repositoryPath |
|
| 90 | 91 | * @return void |
| 91 | 92 | */ |
| 92 | 93 | public function set_repositoryPath($repositoryPath, $create_new = false, $_init = true) |
@@ -192,6 +193,7 @@ discard block |
||
| 192 | 193 | * |
| 193 | 194 | * @access protected |
| 194 | 195 | * @param string command to run |
| 196 | + * @param string $command |
|
| 195 | 197 | * @return string |
| 196 | 198 | */ |
| 197 | 199 | protected function run_command($command) |
@@ -342,6 +344,7 @@ discard block |
||
| 342 | 344 | * |
| 343 | 345 | * @access public |
| 344 | 346 | * @param string source directory |
| 347 | + * @param string $source |
|
| 345 | 348 | * @return string |
| 346 | 349 | */ |
| 347 | 350 | public function clone_from($source) |
@@ -358,6 +361,7 @@ discard block |
||
| 358 | 361 | * @access public |
| 359 | 362 | * @param string source url |
| 360 | 363 | * @param string reference path |
| 364 | + * @param string $source |
|
| 361 | 365 | * @return string |
| 362 | 366 | */ |
| 363 | 367 | public function clone_remote($source, $reference) |
@@ -413,7 +417,7 @@ discard block |
||
| 413 | 417 | * |
| 414 | 418 | * @access public |
| 415 | 419 | * @param bool keep asterisk mark on active branch |
| 416 | - * @return array |
|
| 420 | + * @return string[] |
|
| 417 | 421 | */ |
| 418 | 422 | public function list_branches($keep_asterisk = false) |
| 419 | 423 | { |
@@ -44,6 +44,7 @@ |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | + * @param null|string $rawDiff |
|
| 47 | 48 | * @return Diff |
| 48 | 49 | */ |
| 49 | 50 | public static function parse($rawDiff) |
@@ -634,6 +634,7 @@ |
||
| 634 | 634 | /** |
| 635 | 635 | * @param string |
| 636 | 636 | * @param callback|NULL |
| 637 | + * @param string $cmd |
|
| 637 | 638 | * @return string[]|NULL |
| 638 | 639 | * @throws GitException |
| 639 | 640 | */ |