NoPropertiesBuilder   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 10
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A build() 0 3 1
A fromPromotedProperties() 0 3 1
1
<?php declare(strict_types=1);
2
/**
3
 * This source file is subject to the license that is bundled with this package in the file LICENSE.
4
 */
5
6
namespace PhUml\Parser\Code\Builders\Members;
7
8
use PhUml\Code\UseStatements;
9
10
/**
11
 * It will ignore the properties of a definition, and therefore its filters
12
 */
13
final class NoPropertiesBuilder implements PropertiesBuilder
14
{
15 5
    public function build(array $parsedProperties, UseStatements $useStatements): array
16
    {
17 5
        return [];
18
    }
19
20 5
    public function fromPromotedProperties(array $promotedProperties, UseStatements $useStatements): array
21
    {
22 5
        return [];
23
    }
24
}
25