• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

heimrichhannot / contao-utils-bundle / 6685862485

29 Oct 2023 09:22PM UTC coverage: 74.155% (+52.0%) from 22.152%
6685862485

Pull #67

github

koertho
cleanup composer file
Pull Request #67: Version 3

216 of 216 new or added lines in 19 files covered. (100.0%)

746 of 1006 relevant lines covered (74.16%)

3.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/src/ContaoManager/Plugin.php
1
<?php
2

3
/*
4
 * Copyright (c) 2022 Heimrich & Hannot GmbH
5
 *
6
 * @license LGPL-3.0-or-later
7
 */
8

9
namespace HeimrichHannot\UtilsBundle\ContaoManager;
10

11
use Contao\CoreBundle\ContaoCoreBundle;
12
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
13
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
14
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
15
use Contao\ManagerPlugin\Config\ConfigPluginInterface;
16
use HeimrichHannot\UtilsBundle\HeimrichHannotUtilsBundle;
17
use Symfony\Component\Config\Loader\LoaderInterface;
18

19
class Plugin implements BundlePluginInterface, ConfigPluginInterface
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function getBundles(ParserInterface $parser)
25
    {
26
        return [
1✔
27
            BundleConfig::create(HeimrichHannotUtilsBundle::class)->setLoadAfter([
1✔
28
                ContaoCoreBundle::class,
1✔
29
            ]),
1✔
30
        ];
1✔
31
    }
32

33
    /**
34
     * Allows a plugin to load container configuration.
35
     */
36
    public function registerContainerConfiguration(LoaderInterface $loader, array $managerConfig)
37
    {
38
        $loader->load('@HeimrichHannotUtilsBundle/config/services.yml');
×
39
        $loader->load('@HeimrichHannotUtilsBundle/config/twig.yml');
×
40
    }
41
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc