| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | 484 | public function removePlaceholder(SourceEvent $event) |
|
| 43 | { |
||
| 44 | 484 | $source = $event->getTemplate(); |
|
| 45 | |||
| 46 | 484 | $source = $this->processPlaceholder($source, function ($matches) { |
|
| 47 | 109 | return html_entity_decode($matches[2], ENT_COMPAT, 'UTF-8'); |
|
| 48 | 484 | }); |
|
| 49 | |||
| 50 | 484 | $event->setTemplate($source); |
|
| 51 | 484 | } |
|
| 52 | } |
||
| 53 |