Passed
Pull Request — master (#739)
by
unknown
15:57
created

TestKernel::registerBundles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 3
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace OldSound\RabbitMqBundle\Tests;
6
7
use OldSound\RabbitMqBundle\OldSoundRabbitMqBundle;
8
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
9
use Symfony\Component\Config\Loader\LoaderInterface;
10
use Symfony\Component\HttpKernel\Kernel;
11
12
final class TestKernel extends Kernel
13
{
14
    public function registerBundles(): iterable
15
    {
16
        return [
17
            new FrameworkBundle(),
18
            new OldSoundRabbitMqBundle(),
19
        ];
20
    }
21
22
    public function registerContainerConfiguration(LoaderInterface $loader): void
23
    {
24
    }
25
}
26