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

Kernel::configureRoutes()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 2.0185

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 2
eloc 6
c 2
b 0
f 0
nc 2
nop 1
dl 0
loc 9
ccs 5
cts 6
cp 0.8333
crap 2.0185
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