Conditions | 5 |
Paths | 5 |
Total Lines | 17 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | \(.*?\)\n |
||
39 | ) |
||
40 | ) |
||
41 | /x |
||
42 | REGEXP; |
||
43 | |||
44 | |||
45 | $matches = []; |
||
46 | |||
47 | $matches = $this->runRegexp($pattern, $source, $matches); |
||
48 | $matches = $this->filterMatches($matches); |
||
49 | |||
50 | return $this->mapResult($matches); |
||
51 | } |
||
52 | |||
53 | protected function filterMatches($matches): array |
||
54 | { |
||
55 | return array_filter( |
||
88 | } |