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

AbstractFunctionCallAnalyzer::getRegister()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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