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.

ModuleTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 1
Bugs 1 Features 1
Metric Value
wmc 2
lcom 1
cbo 3
dl 0
loc 17
rs 10
c 1
b 1
f 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 5 1
A testModuleHasSetPluralRule() 0 6 1
1
<?php
2
3
namespace MpaFirephpWrapperTest;
4
5
use MpaFirephpWrapperTest\Util\ServiceManagerFactory;
6
use PHPUnit\Framework\TestCase;
7
use Zend\I18n\Translator\Plural\Rule;
8
9
class ModuleTest extends TestCase
10
{
11
    protected $serviceManager;
12
13
    protected function setUp()
14
    {
15
        $this->serviceManager = ServiceManagerFactory::getServiceManager();
16
        $this->serviceManager->get('Application')->bootstrap();
17
    }
18
19
    public function testModuleHasSetPluralRule()
20
    {
21
        $pluralHelper = $this->serviceManager->get('ViewHelperManager')->get('Plural');
22
23
        $this->assertInstanceOf(Rule::class, $pluralHelper->getpluralRule());
24
    }
25
}
26