Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function evaluate(iterable $data, Entry $matchMe): bool |
||
14 | { |
||
15 | foreach ($data as $item) { |
||
16 | $currentEntry = \strtolower($item); |
||
17 | $current = \strtolower($matchMe->get()); |
||
18 | if ($this->isFullyQualifiedNamespaceValid($current, $currentEntry)) { |
||
19 | return true; |
||
20 | } |
||
21 | } |
||
22 | |||
23 | return false; |
||
24 | } |
||
45 |