| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class TrustedHostsNetworkResolverTest extends TestCase |
||
| 12 | { |
||
| 13 | |||
| 14 | public function ipsDataProvider() |
||
| 15 | { |
||
| 16 | return [ |
||
| 17 | ['127.0.0.1', ['x-forwarded-for' => ['8.8.8.8, 9.9.9.9']], ['127.0.0.1'], null, '9.9.9.9'], |
||
| 18 | ]; |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @dataProvider ipsDataProvider |
||
| 23 | */ |
||
| 24 | public function testIps( |
||
| 37 | } |
||
| 38 | |||
| 40 |