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 ( c811ea...b5dfb6 )
by Mario
14s
created

InformationCollectionPolicyProvider::addPolicies()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.9332
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Netgen\Bundle\InformationCollectionBundle\PolicyProvider;
6
7
use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ConfigBuilderInterface;
8
use eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Security\PolicyProvider\PolicyProviderInterface;
9
10
class InformationCollectionPolicyProvider implements PolicyProviderInterface
11
{
12
    /**
13
     * @param ConfigBuilderInterface $configBuilder
14
     *
15
     * @return $this
16
     */
17
    public function addPolicies(ConfigBuilderInterface $configBuilder)
18
    {
19
        $configBuilder->addConfig([
20
            'infocollector' => [
21
                'read' => [],
22
            ],
23
        ]);
24
25
        return $this;
26
    }
27
}
28