Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
27 | class Php5Parser extends PhpParser |
||
28 | { |
||
29 | /** @param MembersFilter[] $filters */ |
||
30 | 96 | public function __construct(RawDefinitions $definitions = null, array $filters = []) |
|
31 | { |
||
32 | 96 | parent::__construct( |
|
33 | 96 | (new ParserFactory)->create(ParserFactory::PREFER_PHP5), |
|
34 | 96 | $definitions ?? new RawDefinitions(), |
|
35 | 96 | $filters |
|
36 | ); |
||
37 | 96 | } |
|
38 | |||
39 | 96 | protected function buildTraverser(): NodeTraverser |
|
45 | } |
||
46 | } |
||
47 |