| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function testGuessExtJson(): void |
||
| 23 | { |
||
| 24 | if (!extension_loaded('json')) { |
||
| 25 | $this->markTestSkipped('extension json is not available'); |
||
| 26 | } |
||
| 27 | $result = $this->guesser->__invoke('json_decode'); |
||
| 28 | $this->assertNotEmpty($result); |
||
| 29 | $this->assertContains('ext-json', $result); |
||
| 30 | } |
||
| 47 |