Passed
Push — master ( 77290b...f3fb78 )
by Marcel
09:09
created

Kernel::configureContainer()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 11
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 2.5

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 2
eloc 8
c 3
b 0
f 0
nc 2
nop 1
dl 0
loc 11
ccs 2
cts 4
cp 0.5
crap 2.5
rs 10
1
<?php
2
3
namespace App;
4
5
use App\DependencyInjection\Compiler\RemovePcntlEventSubscriberPass;
6
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
9
10
class Kernel extends BaseKernel
11
{
12
    use MicroKernelTrait;
0 ignored issues
show
introduced by
The trait Symfony\Bundle\Framework...Kernel\MicroKernelTrait requires some properties which are not provided by App\Kernel: $instanceof, $name
Loading history...
13
14
    protected function build(ContainerBuilder $container) {
15
        $container->addCompilerPass(new RemovePcntlEventSubscriberPass());
16
    }
17
}
18