| Conditions | 3 |
| Paths | 3 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | } |
||
| 27 | } |
||
| 28 | |||
| 29 | return new EmptyMatchedResult(); |
||
| 30 | } |
||
| 31 | |||
| 32 | private function isCurrentNamespaceInsideAPublicNamespace(string $current, string $publicEntry): bool |
||
| 33 | { |
||
| 34 | |||
| 35 | if ($current === $publicEntry) { |
||
| 36 | return true; |
||
| 37 | } |
||
| 38 | |||
| 39 | $blockEntry = \explode('\\', $publicEntry); |
||
| 40 | $blockCurrent = \explode('\\', $current); |
||
| 41 | |||
| 42 | foreach ($blockCurrent as $tokenCurrent) { |
||
| 43 | if ($tokenCurrent === '') { |
||
| 55 |