Total Complexity | 3 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 25% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | trait RunCommandsTrait |
||
13 | { |
||
14 | /** |
||
15 | * @param array $arguments |
||
16 | * @param $output |
||
17 | * @return int |
||
18 | */ |
||
19 | 1 | public function migrate($arguments = [], $output = null) |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param array $arguments |
||
26 | * @param $output |
||
27 | * @return int |
||
28 | */ |
||
29 | public function create($arguments = [], $output = null) |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param $command |
||
36 | * @param array $arguments |
||
37 | * @param $output |
||
38 | * @return int |
||
39 | * @noinspection PhpDocMissingThrowsInspection |
||
40 | */ |
||
41 | protected function runCommand($command, $arguments = [], $output = null) |
||
56 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.