Completed
Push — master ( e82f42...e87d40 )
by Tobias
02:31
created

SourceLocationContainer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTranslationSourceLocations() 0 7 1
1
<?php
2
3
namespace Translation\Extractor\Tests\Resources\Php;
4
5
use Translation\Extractor\Model\SourceLocation;
6
use Translation\Extractor\TranslationSourceLocationContainer;
7
8
class SourceLocationContainer implements TranslationSourceLocationContainer
9
{
10 1
    public static function getTranslationSourceLocations()
11
    {
12
        return [
13 1
            SourceLocation::createHere('foo'),
14 1
            SourceLocation::createHere('bar'),
15 1
        ];
16
    }
17
}
18