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

getTranslationSourceLocations()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

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