e107inc/e107

View on GitHub
e107_plugins/news/e_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
1%

Argument 3 (where) is null but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $tmp =  e107::getDb()->retrieve('news_category','category_id,category_name',null, true);
Severity: Minor
Found in e107_plugins/news/e_menu.php by phan

Argument 4 (filter_mask) is null but \e107::getLayouts() takes string defined at /code/e107_handlers/e107_class.php:3574
Open

        $templates = e107::getLayouts('news','news_grid', 'front', null, false, false);
Severity: Minor
Found in e107_plugins/news/e_menu.php by phan

Argument 4 (options) is array{label:string} but \news_menu_form::radio() takes null defined at /code/e107_handlers/form_handler.php:2942
Open

            $text .= "<tr><td>".$this->radio('layout', $k, ($curVal == $k), array('label'=>$k))."</td><td>".str_replace('{STYLE}',"class='alert alert-info' style='margin-bottom:0;text-align:center' ",$v)."</td></tr>";
Severity: Minor
Found in e107_plugins/news/e_menu.php by phan

Argument 2 (fname) is true but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

        e107::lan('news', true);
Severity: Minor
Found in e107_plugins/news/e_menu.php by phan

There are no issues that match your filters.

Category
Status