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 ( 37c564...56f4ad )
by Mario
01:32
created

NetgenOpenGraphBundleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 7

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 7
dl 0
loc 21
rs 10
1
<?php
2
3
namespace Netgen\Bundle\OpenGraphBundle\Tests;
4
5
use Netgen\Bundle\OpenGraphBundle\DependencyInjection\Compiler\MetaTagHandlersCompilerPass;
6
use Netgen\Bundle\OpenGraphBundle\DependencyInjection\Compiler\TwigRuntimePass;
7
use Netgen\Bundle\OpenGraphBundle\NetgenOpenGraphBundle;
8
use PHPUnit\Framework\TestCase;
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
11
class NetgenOpenGraphBundleTest extends TestCase
12
{
13
    public function testItAddsCompilerPass()
14
    {
15
        $container = $this->getMockBuilder(ContainerBuilder::class)
16
            ->disableOriginalConstructor()
17
            ->setMethods(array('addCompilerPass'))
18
            ->getMock();
19
20
        $container->expects($this->at(0))
21
            ->method('addCompilerPass')
22
            ->with(new MetaTagHandlersCompilerPass());
23
24
        $container->expects($this->at(1))
25
            ->method('addCompilerPass')
26
            ->with(new TwigRuntimePass());
27
28
        $bundle = new NetgenOpenGraphBundle();
29
        $bundle->build($container);
30
    }
31
}
32