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

heimrichhannot / contao-utils-bundle / 13951376717

19 Mar 2025 04:12PM UTC coverage: 79.32% (+5.6%) from 73.745%
13951376717

push

github

web-flow
Forwardport #87 (#93)

* forwardport #87

* updated tests

* refactored some deprecated code into finder

* fix phpstan reports

* update tests

* add more test coverage

* raise test coveage

* fix bug

---------

Co-authored-by: DDEV User <nobody@example.com>

142 of 178 new or added lines in 6 files covered. (79.78%)

2 existing lines in 1 file now uncovered.

1097 of 1383 relevant lines covered (79.32%)

3.28 hits per line

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

83.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\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
    {
NEW
38
        $loader->load('@HeimrichHannotUtilsBundle/config/services.yaml');
×
39
    }
40
}
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

© 2025 Coveralls, Inc