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.

Module   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
lcom 0
cbo 2
dl 0
loc 20
ccs 7
cts 7
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A onBootstrap() 0 6 1
A getConfig() 0 4 1
1
<?php
2
/*
3
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
5
 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
6
 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
7
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
8
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
 */
10
11
namespace MpaFirephpWrapper;
12
13
use Zend\ModuleManager\Feature\ConfigProviderInterface;
14
use Zend\Mvc\MvcEvent;
15
16
class Module implements ConfigProviderInterface
17
{
18
    /**
19
     * @param MvcEvent $event
20
     */
21 2
    public function onBootstrap(MvcEvent $event)
22
    {
23 2
        $serviceManager = $event->getApplication()->getServiceManager();
24 2
        $pluralHelper   = $serviceManager->get('ViewHelperManager')->get('Plural');
25 2
        $pluralHelper->setPluralRule('nplurals=2; plural=n!=1');
26 2
    }
27
28
    /**
29
     * {@inheritDoc}
30
     */
31 14
    public function getConfig()
32
    {
33 14
        return include __DIR__ . '/../config/module.config.php';
34
    }
35
}
36