| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | 1 | public function getRemovedDescription(ChangeText $text): void |
|
| 46 | { |
||
| 47 | 1 | $text->characters(\sprintf('%s %s ', $this->getChangedFrom(), \mb_strtolower($this->getArticle()))); |
|
| 48 | 1 | $text->startElement('b'); |
|
| 49 | 1 | $text->characters(\mb_strtolower($this->getDescription())); |
|
| 50 | 1 | $text->endElement('b'); |
|
| 51 | |||
| 52 | 1 | $this->addAttributes($text, $this->node->getAttributes()); |
|
| 53 | 1 | $text->characters('.'); |
|
| 54 | 1 | } |
|
| 64 |