Conditions | 2 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function dispatch(TaskDefinitionInterface $taskDefinition): DispatchResultInterface |
||
28 | { |
||
29 | $parameter = $taskDefinition->define(); |
||
30 | return $this->delegate( |
||
31 | new ShopwareCommandDefinition( |
||
32 | 'plugin:uninstall', |
||
33 | sprintf( |
||
34 | '-n %s %s', |
||
35 | $parameter->get('secure') === true ? '--secure' : '', |
||
36 | $parameter->get('plugin') |
||
37 | ) |
||
41 | } |