ImpressCMS/impresscms

View on GitHub
htdocs/include/rating.rate.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to static property user from undeclared class \icms
Open

        if (is_object(icms::$user)) {
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_rated', true);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

        $icmsTpl->assign('icms_rating_stats_average', $stats['average']);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Reference to static property user from undeclared class \icms
Open

            $ratingObj = $icms_rating_handler->already_rated($rating_item, $rating_itemid, $module_dirname, icms::$user->getVar('uid'));
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Call to method getPlugin from undeclared class \icms_plugins_Handler
Open

$pluginObj = $icms_plugin_handler->getPlugin($module_dirname);
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_rating_current_page', \icms::$urls['full']);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Reference to static property module from undeclared class \icms
Open

$module_dirname = icms::$module->getVar('dirname');
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_user_can_rate', true);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

        if (icms::$xoopsDB->errno() == 1062) {
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

        $icmsTpl->assign('icms_rating_item', $rating_item);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

        $icmsTpl->assign('icms_rating_stats_total', $stats['sum']);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

        $icmsTpl->display('db:system_rating_form.html');
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_rating_itemid', $rating_itemid);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Reference to static property urls from undeclared class \icms
Open

            $icmsTpl->assign('icms_rating_current_page', \icms::$urls['full']);
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Call to method __construct from undeclared class \icms_plugins_Handler
Open

$icms_plugin_handler = new icms_plugins_Handler();
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_user_rate', $ratingObj->getVar('rate'));
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Variable $icmsTpl is undeclared
Open

            $icmsTpl->assign('icms_rating_dirname', $module_dirname);
Severity: Minor
Found in htdocs/include/rating.rate.php by phan

Reference to static property user from undeclared class \icms
Open

    $ratingObj->setVar('uid', icms::$user->getVar('uid'));
Severity: Critical
Found in htdocs/include/rating.rate.php by phan

There are no issues that match your filters.

Category
Status