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.

ExtensionTest::itCanChangeParameters()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 6
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the C33s\StaticPageContentBundle.
4
 *
5
 * (c) consistency <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace C33s\StaticPageContentBundle\Tests\DependencyInjection;
11
12
use C33s\StaticPageContentBundle\DependencyInjection\Extension;
13
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
14
15
class ExtensionTest extends AbstractExtensionTestCase
16
{
17
    protected function getContainerExtensions()
18
    {
19
        return array(new Extension());
20
    }
21
22
    /**
23
     * @test
24
     */
25
    public function itSetsDefaultParameters()
26
    {
27
        $this->load();
28
29
        $this->assertContainerBuilderHasParameter(
30
            'c33s_static_page_content.content_bundle',
31
            'C33sStaticPageContentBundle'
32
        );
33
    }
34
35
    /**
36
     * @test
37
     */
38
    public function itCanChangeParameters()
39
    {
40
        $config = array('content_dir' => 'pages');
41
        $this->load($config);
42
43
        $this->assertContainerBuilderHasParameter(
44
            'c33s_static_page_content.content_dir',
45
            'pages'
46
        );
47
    }
48
}
49