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