XoopsModules25x/xoopstube

View on GitHub
include/update.php

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

//TODO delete xoopstube.sql
Severity: Minor
Found in include/update.php by fixme

Line exceeds 120 characters; contains 126 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . ' ADD COLUMN item_tag TEXT NULL AFTER keywords');
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_broken') . " MODIFY acknowledged INT(1) NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_broken') . " MODIFY confirmed INT(1) UNSIGNED NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 143 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_cat') . " ADD COLUMN banner_id INT(5) NOT NULL DEFAULT '0' AFTER client_id");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 163 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_indexpage') . " ADD COLUMN lastvideosyn TINYINT(1) NOT NULL DEFAULT '0' AFTER indexfooteralign");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 136 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . " MODIFY vidsource INT(11) UNSIGNED NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . " CHANGE forumid vidsource INT(11) NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . " CHANGE forumid vidsource INT(11) NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . ' ADD COLUMN picurl TEXT NULL AFTER item_tag');
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 145 characters
Open

//$query[$i] = sprintf("ALTER TABLE " . $xoopsDB -> prefix( 'xoopstube_videos') . " ADD COLUMN hq TINYINT(1) NOT NULL default '0' AFTER picurl");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 140 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . " CHANGE urlrating vidrating TINYINT(1) NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . ' ADD COLUMN item_tag TEXT NULL AFTER keywords');
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . ' ADD COLUMN picurl TEXT NULL AFTER item_tag');
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 137 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . " CHANGE urlrating vidrating TINYINT(1) NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 140 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_cat') . " ADD COLUMN client_id INT(5) NOT NULL DEFAULT '0' AFTER weight");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

//$query[$i] = sprintf("ALTER TABLE " . $xoopsDB -> prefix( 'xoopstube_mod') . " ADD COLUMN hq TINYINT(1) NOT NULL default '0' AFTER picurl");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 162 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_indexpage') . " ADD COLUMN lastvideostotal VARCHAR(5) NOT NULL DEFAULT '5' AFTER lastvideosyn");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 128 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . " MODIFY time VARCHAR(7) NOT NULL DEFAULT '0:00:00'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 133 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . " MODIFY vidsource INT(11) UNSIGNED NOT NULL DEFAULT '0'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_videos') . " MODIFY time VARCHAR(7) NOT NULL DEFAULT '0:00:00'");
Severity: Minor
Found in include/update.php by phpcodesniffer

Line exceeds 120 characters; contains 146 characters
Open

$query[$i] = sprintf('ALTER TABLE ' . $xoopsDB->prefix('xoopstube_mod') . " ADD COLUMN time VARCHAR(5) NOT NULL DEFAULT '00:00' AFTER vidrating");
Severity: Minor
Found in include/update.php by phpcodesniffer

There are no issues that match your filters.

Category
Status