@@ -400,7 +400,7 @@ discard block |
||
400 | 400 | |
401 | 401 | $this->htmlBody .= vsprintf($this->heading, [htmlspecialchars($title)]); |
402 | 402 | if ($plainTitle !== false) { |
403 | - $this->plainBody .= $plainTitle . PHP_EOL . PHP_EOL; |
|
403 | + $this->plainBody .= $plainTitle.PHP_EOL.PHP_EOL; |
|
404 | 404 | } |
405 | 405 | } |
406 | 406 | |
@@ -437,7 +437,7 @@ discard block |
||
437 | 437 | |
438 | 438 | $this->htmlBody .= vsprintf($this->bodyText, [$text]); |
439 | 439 | if ($plainText !== false) { |
440 | - $this->plainBody .= $plainText . PHP_EOL . PHP_EOL; |
|
440 | + $this->plainBody .= $plainText.PHP_EOL.PHP_EOL; |
|
441 | 441 | } |
442 | 442 | } |
443 | 443 | |
@@ -469,10 +469,10 @@ discard block |
||
469 | 469 | |
470 | 470 | $htmlText = $text; |
471 | 471 | if ($metaInfo) { |
472 | - $htmlText = '<em style="color:#777;">' . $metaInfo . '</em><br>' . $htmlText; |
|
472 | + $htmlText = '<em style="color:#777;">'.$metaInfo.'</em><br>'.$htmlText; |
|
473 | 473 | } |
474 | 474 | if ($icon !== '') { |
475 | - $icon = '<img src="' . htmlspecialchars($icon) . '" alt="•">'; |
|
475 | + $icon = '<img src="'.htmlspecialchars($icon).'" alt="•">'; |
|
476 | 476 | } else { |
477 | 477 | $icon = '•'; |
478 | 478 | } |
@@ -482,9 +482,9 @@ discard block |
||
482 | 482 | /* |
483 | 483 | * If plainIndent is not set by caller, this is the old NC17 layout code. |
484 | 484 | */ |
485 | - $this->plainBody .= ' * ' . $plainText; |
|
485 | + $this->plainBody .= ' * '.$plainText; |
|
486 | 486 | if ($plainMetaInfo !== false) { |
487 | - $this->plainBody .= ' (' . $plainMetaInfo . ')'; |
|
487 | + $this->plainBody .= ' ('.$plainMetaInfo.')'; |
|
488 | 488 | } |
489 | 489 | $this->plainBody .= PHP_EOL; |
490 | 490 | } else { |
@@ -496,10 +496,10 @@ discard block |
||
496 | 496 | * (to account for space after label). Fixes: #12391 |
497 | 497 | */ |
498 | 498 | /** @var string $label */ |
499 | - $label = ($plainMetaInfo !== false)? $plainMetaInfo : ''; |
|
499 | + $label = ($plainMetaInfo !== false) ? $plainMetaInfo : ''; |
|
500 | 500 | $this->plainBody .= sprintf("%${plainIndent}s %s\n", |
501 | 501 | $label, |
502 | - str_replace("\n", "\n" . str_repeat(' ', $plainIndent + 1), $plainText)); |
|
502 | + str_replace("\n", "\n".str_repeat(' ', $plainIndent + 1), $plainText)); |
|
503 | 503 | } |
504 | 504 | } |
505 | 505 | } |
@@ -559,8 +559,8 @@ discard block |
||
559 | 559 | $textColor = $this->themingDefaults->getTextColorPrimary(); |
560 | 560 | |
561 | 561 | $this->htmlBody .= vsprintf($this->buttonGroup, [$color, $color, $urlLeft, $color, $textColor, $textColor, $textLeft, $urlRight, $textRight]); |
562 | - $this->plainBody .= PHP_EOL . $plainTextLeft . ': ' . $urlLeft . PHP_EOL; |
|
563 | - $this->plainBody .= $plainTextRight . ': ' . $urlRight . PHP_EOL . PHP_EOL; |
|
562 | + $this->plainBody .= PHP_EOL.$plainTextLeft.': '.$urlLeft.PHP_EOL; |
|
563 | + $this->plainBody .= $plainTextRight.': '.$urlRight.PHP_EOL.PHP_EOL; |
|
564 | 564 | } |
565 | 565 | |
566 | 566 | /** |
@@ -591,10 +591,10 @@ discard block |
||
591 | 591 | $this->htmlBody .= vsprintf($this->button, [$color, $color, $url, $color, $textColor, $textColor, $text]); |
592 | 592 | |
593 | 593 | if ($plainText !== false) { |
594 | - $this->plainBody .= $plainText . ': '; |
|
594 | + $this->plainBody .= $plainText.': '; |
|
595 | 595 | } |
596 | 596 | |
597 | - $this->plainBody .= $url . PHP_EOL; |
|
597 | + $this->plainBody .= $url.PHP_EOL; |
|
598 | 598 | } |
599 | 599 | |
600 | 600 | /** |
@@ -621,9 +621,9 @@ discard block |
||
621 | 621 | $l10n = $this->l10nFactory->get('lib', $lang); |
622 | 622 | $slogan = $this->themingDefaults->getSlogan($lang); |
623 | 623 | if ($slogan !== '') { |
624 | - $slogan = ' - ' . $slogan; |
|
624 | + $slogan = ' - '.$slogan; |
|
625 | 625 | } |
626 | - $text = $this->themingDefaults->getName() . $slogan . '<br>' . $l10n->t('This is an automatically sent email, please do not reply.'); |
|
626 | + $text = $this->themingDefaults->getName().$slogan.'<br>'.$l10n->t('This is an automatically sent email, please do not reply.'); |
|
627 | 627 | } |
628 | 628 | |
629 | 629 | if ($this->footerAdded) { |
@@ -635,7 +635,7 @@ discard block |
||
635 | 635 | |
636 | 636 | $this->htmlBody .= vsprintf($this->footer, [$text]); |
637 | 637 | $this->htmlBody .= $this->tail; |
638 | - $this->plainBody .= PHP_EOL . '-- ' . PHP_EOL; |
|
638 | + $this->plainBody .= PHP_EOL.'-- '.PHP_EOL; |
|
639 | 639 | $this->plainBody .= str_replace('<br>', PHP_EOL, $text); |
640 | 640 | } |
641 | 641 |