| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | public function testBlockRenderInPlaceTrue(): void |
||
| 29 | { |
||
| 30 | ob_start(); |
||
| 31 | ob_implicit_flush(0); |
||
| 32 | |||
| 33 | Block::begin() |
||
| 34 | ->id('testme') |
||
| 35 | ->renderInPlace(true) |
||
| 36 | ->init(); |
||
| 37 | |||
| 38 | echo '<block-testme>'; |
||
| 39 | |||
| 40 | Block::end(); |
||
| 41 | |||
| 42 | $this->assertStringContainsString('<block-testme>', ob_get_clean()); |
||
| 43 | } |
||
| 74 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.