Kernel   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 6
Bugs 0 Features 0
Metric Value
eloc 3
c 6
b 0
f 0
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 10
wmc 1

1 Method

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