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

TestKernel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 4
c 1
b 0
f 1
dl 0
loc 12
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerContainerConfiguration() 0 2 1
A registerBundles() 0 5 1
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