GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( ae39f9...ef323f )
by Steevan
02:56
created

ReadOnlyHydratorBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
namespace steevanb\DoctrineReadOnlyHydrator\Bridge\ReadOnlyHydratorBundle;
4
5
use steevanb\DoctrineReadOnlyHydrator\Bridge\ReadOnlyHydratorBundle\DependencyInjection\Compiler\AddReadOnlyHydrationModePass;
6
use steevanb\DoctrineReadOnlyHydrator\Bridge\ReadOnlyHydratorBundle\DependencyInjection\Compiler\AddSimpleObjectHydrationModePass;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
use Symfony\Component\HttpKernel\Bundle\Bundle;
9
10
class ReadOnlyHydratorBundle extends Bundle
11
{
12
    /**
13
     * @param ContainerBuilder $container
14
     */
15
    public function build(ContainerBuilder $container)
16
    {
17
        $container
18
            ->addCompilerPass(new AddReadOnlyHydrationModePass())
19
            ->addCompilerPass(new AddSimpleObjectHydrationModePass());
20
    }
21
}
22