| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 14 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 33 | 156 | public function render(AbstractBlock $block, ElementRendererInterface $htmlRenderer, bool $inTightList = false)  | 
            |
| 34 |     { | 
            ||
| 35 | 156 |         if (!($block instanceof IndentedCode)) { | 
            |
| 36 | 3 |             throw new \InvalidArgumentException('Incompatible block type: ' . \get_class($block)); | 
            |
| 37 | }  | 
            ||
| 38 | |||
| 39 | 153 |         $attrs = $block->getData('attributes', []); | 
            |
| 40 | |||
| 41 | 153 | return new HtmlElement(  | 
            |
| 42 | 153 | 'pre',  | 
            |
| 43 | 153 | [],  | 
            |
| 44 | 153 |             new HtmlElement('code', $attrs, Xml::escape($block->getStringContent())) | 
            |
| 45 | );  | 
            ||
| 46 | }  | 
            ||
| 47 | }  | 
            ||
| 48 |