e107inc/e107

View on GitHub
e107_plugins/banner/banner_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
13%

Variable $BANNER_TEMPLATE is undeclared
Open

    $BANNER_MENU_START = $BANNER_TEMPLATE['menu']['start'];
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Call to undeclared method \e_shortcode::renderBanner
Open

                $var = array('BANNER' => $sc->renderBanner($row)); 
Severity: Critical
Found in e107_plugins/banner/banner_menu.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

        elseif(e_DEBUG == true && getperms('0'))
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Variable $BANNER_TEMPLATE is undeclared
Open

    $BANNER_MENU_ITEM = $BANNER_TEMPLATE['menu']['item'];
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Variable $BANNER_TEMPLATE is undeclared
Open

    $BANNER_MENU_END = $BANNER_TEMPLATE['menu']['end']; 
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Variable $BANNER_MENU is undeclared
Open

    $BANNER_MENU_ITEM = $BANNER_MENU;     
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Variable $filter was undeclared, but array fields are being added to it.
Open

            $filter[] = "banner_campaign=\"".$v."\"";         
Severity: Info
Found in e107_plugins/banner/banner_menu.php by phan

Argument 1 (seed) is float but \mt_srand() takes int
Open

        mt_srand ((double) microtime() * 1000000);
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

Argument 1 (status) is 0 but \e_parse::thumbCrop() takes bool|false defined at /code/e107_handlers/e_parse_class.php:2262
Open

            e107::getParser()->thumbCrop(0);
Severity: Minor
Found in e107_plugins/banner/banner_menu.php by phan

There are no issues that match your filters.

Category
Status