1 | <?php |
||
19 | class TaskRunnerFactory |
||
20 | { |
||
21 | /** |
||
22 | * @param string $taskConfigPath path to the tasks configuration in the conveyor.yml config |
||
23 | * @param TaskFactory $taskFactory |
||
24 | * @param YamlConfig $config |
||
25 | * @param IOInterface $io |
||
26 | * @param EventDispatcherInterface $dispatcher |
||
27 | * @return TaskRunner |
||
28 | */ |
||
29 | public static function get($taskConfigPath, TaskFactory $taskFactory, YamlConfig $config, IOInterface $io, EventDispatcherInterface $dispatcher = null) |
||
42 | |||
43 | /** |
||
44 | * @param array $config |
||
45 | * @param string $taskConfigPath |
||
46 | * @return array |
||
47 | */ |
||
48 | protected static function getTasksConfig(array $config, $taskConfigPath) |
||
64 | } |
||
65 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.