web/lib/user/TextTemplates.php
Method __construct
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct() {
\core\common\Entity::intoThePotatoes();
$this->templates[WELCOME_ABOARD_PAGEHEADING] = sprintf(_("Welcome aboard the %s user community!"), \config\ConfAssistant::CONSORTIUM['display_name']);
$this->templates[WELCOME_ABOARD_DOWNLOAD] = _("Your download will start shortly. In case of problems with the automatic download please use this direct <a href=''>link</a>.");
$this->templates[WELCOME_ABOARD_HEADING] = sprintf(_("Dear user from %s,"), "<span class='inst_name'></span>");