| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function rendererProvider() |
||
| 33 | { |
||
| 34 | $data = []; |
||
| 35 | |||
| 36 | $files = glob(__DIR__ . '/json/*.json'); |
||
| 37 | foreach ($files as $file) { |
||
| 38 | $name = basename($file, '.json'); |
||
| 39 | $json = file_get_contents(__DIR__ . '/json/' . $name . '.json'); |
||
| 40 | $wiki = file_get_contents(__DIR__ . '/json/' . $name . '.txt'); |
||
| 41 | $data[] = [$json, $wiki, $name]; |
||
| 42 | } |
||
| 43 | |||
| 44 | return $data; |
||
| 45 | } |
||
| 47 |