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::getConfig()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 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