web/lib/user/TextTemplates.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 49 lines of code (exceeds 25 allowed). Consider refactoring.
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>");
Severity: Minor
Found in web/lib/user/TextTemplates.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status