Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 1 | public function load(ContainerBuilder $container): Definition |
|
19 | { |
||
20 | 1 | $container->register('linter.typoscriptlint', TypoScriptLinter::class); |
|
21 | 1 | return $container->register('task.typoscriptlint', TypoScriptLint::class) |
|
22 | 1 | ->addArgument(new Reference('config')) |
|
23 | 1 | ->addArgument(new Reference('linter.typoscriptlint')) |
|
24 | 1 | ->addTag('grumphp.task', ['config' => 'typoscriptlint']); |
|
25 | } |
||
27 |