XoopsModules25x/xoopspoll

View on GitHub
extras/newbb_5x/trunk_5_00/language/main.php

Summary

Maintainability
B
5 hrs
Test Coverage

File main.php has 396 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php declare(strict_types=1);

if (defined('MAIN_DEFINED')) {
    return;
}
Severity: Minor
Found in extras/newbb_5x/trunk_5_00/language/main.php - About 5 hrs to fix

    A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 6 and the first side effect is on line 4.
    Open

    <?php declare(strict_types=1);

    Line exceeds 120 characters; contains 265 characters
    Open

    define('_MD_DESC_MERGE', 'Once you press the merge button at the bottom of this form the topic you have selected, and its related posts, will be merged to the topic you have selected.<br><strong>The destination topic ID must be smaller than current one</strong>.');

    Line exceeds 120 characters; contains 173 characters
    Open

    define('_MD_INVALID_SUBMIT', 'Invalid submission. You could have exceeded session time. Please re-submit or make a backup of your post and login to resubmit if necessary.');

    Line exceeds 120 characters; contains 190 characters
    Open

    define('_MD_DESC_STICKY', 'Once you press the Sticky button at the bottom of this form the topic you have selected will be Stickyed. You may unSticky it again at a later time if you like.');

    Line exceeds 120 characters; contains 194 characters
    Open

    define('_MD_DESC_UNDIGEST', 'Once you press the unDigest button at the bottom of this form the topic you have selected will be unDigested. You may Digest it again at a later time if you like.');

    Line exceeds 120 characters; contains 191 characters
    Open

    define('_MD_DESC_DELETE', 'Once you press the delete button at the bottom of this form the topic you have selected, and all its related posts, will be <strong>permanently</strong> removed.');

    Line exceeds 120 characters; contains 131 characters
    Open

    define('_MD_SUSPEND_TEXT', 'User %s is suspended for %d days due to:<br>[quote]%s[/quote]<br><br>The suspension is valid till %s');

    Line exceeds 120 characters; contains 176 characters
    Open

    define('_MD_DESC_LOCK', 'Once you press the lock button at the bottom of this form the topic you have selected will be locked. You may unlock it at a later time if you like.');

    Line exceeds 120 characters; contains 149 characters
    Open

    //define('_MD_PRIVATE', 'This is a <strong>Private</strong> forum.<br>Only users with special access can post new topics and replies to this forum');

    Line exceeds 120 characters; contains 183 characters
    Open

    define('_MD_DESC_MOVE', 'Once you press the move button at the bottom of this form the topic you have selected, and its related posts, will be moved to the forum you have selected.');

    Line exceeds 120 characters; contains 224 characters
    Open

    // !!IMPORTANT!! insert '\' before any char among reserved chars: "a", "A", "B", "c", "d", "D", "F", "g", "G", "h", "H", "i", "I", "j", "l", "L", "m", "M", "n", "O", "r", "s", "S", "t", "T", "U", "w", "W", "Y", "y", "z", "Z"

    Line exceeds 120 characters; contains 190 characters
    Open

    define('_MD_DESC_DIGEST', 'Once you press the Digest button at the bottom of this form the topic you have selected will be Digested. You may unDigest it again at a later time if you like.');

    Line exceeds 120 characters; contains 186 characters
    Open

    define('_MD_DESC_UNLOCK', 'Once you press the unlock button at the bottom of this form the topic you have selected will be unlocked. You may lock it again at a later time if you like.');

    Line exceeds 120 characters; contains 194 characters
    Open

    define('_MD_DESC_UNSTICKY', 'Once you press the unSticky button at the bottom of this form the topic you have selected will be unStickyed. You may Sticky it again at a later time if you like.');

    There are no issues that match your filters.

    Category
    Status