Completed
Push — master ( 8419d7...269912 )
by Дмитрий
03:29
created

AbstractFunctionCallAnalyzer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRegister() 0 6 1
1
<?php
2
/**
3
 * @author Patsura Dmitry https://github.com/ovr <[email protected]>
4
 */
5
6
namespace PHPSA\Analyzer\Pass\Expression\FunctionCall;
7
8
use PHPSA\Analyzer\Helper\DefaultMetadataPassTrait;
9
use PHPSA\Analyzer\Helper\ResolveExpressionTrait;
10
use PHPSA\Analyzer\Pass\AnalyzerPassInterface;
11
12
abstract class AbstractFunctionCallAnalyzer implements PassFunctionCallInterface, AnalyzerPassInterface
13
{
14
    use ResolveExpressionTrait;
15
    use DefaultMetadataPassTrait;
16
17
    /**
18
     * @return array
19
     */
20
    public function getRegister()
21
    {
22
        return [
23
            \PhpParser\Node\Expr\FuncCall::class
24
        ];
25
    }
26
}
27