| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 1 | public function getAddedDescription(ChangeText $text): void |
|
| 24 | { |
||
| 25 | 1 | $text->characters(\sprintf('%s %s ', $this->getChangedTo(), \mb_strtolower($this->getArticle()))); |
|
| 26 | 1 | $text->startElement('b'); |
|
| 27 | 1 | $text->characters(\mb_strtolower($this->getDescription())); |
|
| 28 | 1 | $text->endElement('b'); |
|
| 29 | |||
| 30 | 1 | $this->addAttributes($text, $this->node->getAttributes()); |
|
| 31 | 1 | $text->characters('.'); |
|
| 32 | 1 | } |
|
| 64 |