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 ( 48aa34...e9e817 )
by Mario
29:19 queued 01:50
created

getMinimalConfiguration()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 41
Code Lines 26

Duplication

Lines 41
Ratio 100 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 41
loc 41
rs 8.8571
cc 1
eloc 26
nc 1
nop 0
1
<?php
2
3
namespace Netgen\Bundle\InformationCollectionBundle\Tests\DependencyInjection;
4
5
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
6
use Netgen\Bundle\InformationCollectionBundle\DependencyInjection\NetgenInformationCollectionExtension;
7
8
class NetgenInformationCollectionExtensionTest extends AbstractExtensionTestCase
9
{
10
    public function testItSetsValidContainerParameters()
11
    {
12
        $this->container->setParameter('ezpublish.siteaccess.list', array());
13
        $this->load();
14
    }
15
16
    protected function getContainerExtensions()
17
    {
18
        return array(
19
            new NetgenInformationCollectionExtension(),
20
        );
21
    }
22
23 View Code Duplication
    protected function getMinimalConfiguration()
0 ignored issues
show
Duplication introduced by
This method seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
24
    {
25
        return array(
26
            'system' => array(
27
                'default' => array(
28
                    'action_config' => array(
29
                        'email' => array(
30
                            'templates' => array(
31
                                'default' => 'some_template',
32
                                'content_types' => array(
33
                                    'content_type1' => 'content_type1_template',
34
                                    'content_type2' => 'content_type2_template',
35
                                ),
36
                            ),
37
                            'default_variables' => array(
38
                                'sender' => 'sender',
39
                                'recipient' => 'recipient',
40
                                'subject' => 'subject',
41
                            ),
42
                        ),
43
                    ),
44
                    'actions' => array(
45
                        'default' => array(
46
                            'action1',
47
                            'action2',
48
                        ),
49
                        'content_types' => array(
50
                            'content_type1' => array(
51
                                'action3',
52
                                'action4',
53
                            ),
54
                            'content_type2' => array(
55
                                'action5',
56
                                'action6',
57
                            ),
58
                        ),
59
                    ),
60
                ),
61
            ),
62
        );
63
    }
64
}
65