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

heimrichhannot / contao-utils-bundle / 15017483614

14 May 2025 09:41AM UTC coverage: 25.302% (-54.2%) from 79.482%
15017483614

Pull #96

github

koertho
backport anonymize utils
Pull Request #96: Backport anonymize utils

6 of 7 new or added lines in 2 files covered. (85.71%)

248 existing lines in 22 files now uncovered.

1488 of 5881 relevant lines covered (25.3%)

1.56 hits per line

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

53.33
/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\HeimrichHannotContaoUtilsBundle;
17
use HeimrichHannot\UtilsBundle\HeimrichHannotUtilsBundle;
18
use Symfony\Component\Config\Loader\LoaderInterface;
19

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

37
    /**
38
     * Allows a plugin to load container configuration.
39
     */
40
    public function registerContainerConfiguration(LoaderInterface $loader, array $managerConfig)
41
    {
UNCOV
42
        $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/choices.yml');
×
UNCOV
43
        $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/parameters.yml');
×
UNCOV
44
        $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/services.yml');
×
UNCOV
45
        $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/twig.yml');
×
UNCOV
46
        $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/utils.yml');
×
47

UNCOV
48
        if (class_exists('HeimrichHannot\EncoreBundle\HeimrichHannotContaoEncoreBundle')) {
×
UNCOV
49
            $loader->load('@HeimrichHannotContaoUtilsBundle/Resources/config/config_encore.yml');
×
50
        }
51
    }
52
}
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