mambax7/adslight

View on GitHub
include/updateblock.inc.php

Summary

Maintainability
A
0 mins
Test Coverage

Line exceeds 120 characters; contains 216 characters
Open

                    $local_msgs[] = "Option's values of the cloned block <b>".$fblock['name']."</b> will be kept and new options are added. (value = <b>".$modversion['blocks'][$fblock['func_num']]['options']."</b>)";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 155 characters
Open

                    $local_msgs[] = "Option's values of the cloned block <b>".$fblock['name']."</b> will be kept. (value = <b>".$fblock['options']."</b>)";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 175 characters
Open

                $local_msgs[]                        = "Option's values of the block <b>" . $fblock['name'] . '</b> will be kept. (value = <b>' . $fblock['options'] . '</b>)';
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

            $sql = "UPDATE ".$xoopsDB->prefix('newblocks')." SET func_num='$n_funcnum' WHERE mid=".$mid." AND bid='".$fblock['bid']."'";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 147 characters
Open

            if (($modversion['blocks'][$i]['file'] == $fblock['func_file']) and ($modversion['blocks'][$i]['show_func'] == $fblock['show_func'])) {
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 276 characters
Open

        $sql     = 'SELECT name,options FROM ' . $xoopsDB->prefix('newblocks') . ' WHERE mid=' . $mid . ' AND func_num=' . $i . " AND show_func='" . addslashes($modversion['blocks'][$i]['show_func']) . "' AND func_file='" . addslashes($modversion['blocks'][$i]['file']) . "'";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 221 characters
Open

                $local_msgs[]                        = "Option's values of the block <b>" . $fblock['name'] . '</b> will be kept and new option(s) are added. (value = <b>' . $modversion['blocks'][$i]['options'] . '</b>)';
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 234 characters
Open

                    $local_msgs[] = "Option's values of the cloned block <b>".$fblock['name']."</b> will be reset to the default, because of some decrease of options. (value = <b>".$modversion['blocks'][$n_funcnum]['options']."</b>)";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

    $sql     = 'SELECT * FROM ' . $xoopsDB->prefix('newblocks') . ' WHERE mid=' . $mid . " AND block_type <>'D' AND func_num > {$count}";
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 223 characters
Open

                $local_msgs[] = "Option's values of the block <b>" . $fblock['name'] . '</b> will be reset to the default, because of some decrease of options. (value = <b>' . $modversion['blocks'][$i]['options'] . '</b>)';
Severity: Minor
Found in include/updateblock.inc.php by phpcodesniffer

There are no issues that match your filters.

Category
Status