| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function run(Runner $runner, Client $client, Config $config) |
||
| 12 | { |
||
| 13 | $runner->dispatch('tarantool.migrate'); |
||
| 14 | |||
| 15 | $client->setRoot('services'); |
||
| 16 | if(!$client->get($config['name'])) { |
||
| 17 | $client->set($config['name']) |
||
| 18 | } |
||
|
|
|||
| 19 | $client->setRoot('jobs'); |
||
| 20 | $meta = $runner->dispatch('module.meta'); |
||
| 21 | foreach($meta['jobs'] as $job) { |
||
| 28 |