Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
18 | 2 | public function build(ContainerBuilder $container) |
|
19 | { |
||
20 | 2 | if (method_exists($container, 'registerForAutoconfiguration')) { |
|
21 | 2 | $container->registerForAutoconfiguration(CheckInterface::class) |
|
22 | 2 | ->addTag('liip_monitor.check'); |
|
23 | } |
||
24 | |||
25 | 2 | $container->addCompilerPass(new CheckAssetsEnabledPass()); |
|
26 | 2 | $container->addCompilerPass(new AddGroupsCompilerPass()); |
|
27 | 2 | $container->addCompilerPass(new GroupRunnersCompilerPass()); |
|
28 | 2 | $container->addCompilerPass(new CheckTagCompilerPass()); |
|
29 | 2 | $container->addCompilerPass(new CheckCollectionTagCompilerPass()); |
|
30 | 2 | $container->addCompilerPass(new AdditionalReporterCompilerPass()); |
|
31 | 2 | $container->addCompilerPass(new MailerCompilerPass()); |
|
32 | 2 | } |
|
33 | } |
||
34 |