Completed
Pull Request — master (#5)
by
unknown
04:09 queued 01:31
created

GermanySTTest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 4
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 29
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getProviderCountryCode() 0 4 1
A getProviderCountryName() 0 4 1
A getProviderInstanceOf() 0 4 1
A dataProvider() 0 11 1
1
<?php
2
3
/*
4
 * This file is part of the Holiday Library.
5
 *
6
 * (c) Michał Mańko <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Michalmanko\Holiday\Test\Provider;
13
14
/**
15
 * @author ottowayne <[email protected]>
16
 */
17
class GermanySTTest extends GermanyTest
18
{
19
    public function getProviderCountryCode()
20
    {
21
        return 'GER_ST';
22
    }
23
24
    public function getProviderCountryName()
25
    {
26
        return 'GermanyST';
27
    }
28
29
    public function getProviderInstanceOf()
30
    {
31
        return '\\Michalmanko\\Holiday\\Provider\\GermanyST';
32
    }
33
34
    public function dataProvider()
35
    {
36
        $parentData = parent::dataProvider();
37
38
        $providerData = array(
39
            $this->getEpiphanyTestData(),
40
            $this->getReformationTestData(),
41
        );
42
43
        return array_merge($parentData, $providerData);
44
    }
45
}
46