e107inc/e107

View on GitHub
e107_plugins/news/news_months_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
34%

Suspicious array access to nullable ?array|?array{showarchive:0}
Open

    if(vartrue($parms['year']))
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Reference to undeclared constant \BULLET
Open

    $bullet = defined('BULLET') ? THEME_ABS.'images/'.BULLET : THEME_ABS.'images/bullet2.gif';
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Argument 6 (year) is string but \mktime() takes int
Open

        $end = mktime(23, 59, 59, 12, 31, $cur_year);
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Argument 2 (Data) is ?string but \ecache::set() takes string defined at /code/e107_handlers/cache_handler.php:235
Open

    e107::getCache()->set($cString, $cached);
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Argument 6 (year) is string but \mktime() takes int
Open

        $start = mktime(0, 0, 0, 1, 1, $cur_year);
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Argument 6 (year) is string but \mktime() takes int
Open

        $start = mktime(0, 0, 0, 1, 1, $cur_year);
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Suspicious array access to nullable ?array|?array{showarchive:0}
Open

        $date = $parms['year'];
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

Argument 1 (id) is null but \e_render::setUniqueId() takes string defined at /code/e107_handlers/e_render_class.php:212
Open

        $ns->setUniqueId(null);
Severity: Minor
Found in e107_plugins/news/news_months_menu.php by phan

There are no issues that match your filters.

Category
Status