e107inc/e107

View on GitHub
e107_plugins/_blank/e_dashboard.php

Summary

Maintainability
A
0 mins
Test Coverage
F
1%

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

            $dateName[$key] = date('jS', $row['blank_date']);
Severity: Info
Found in e107_plugins/_blank/e_dashboard.php by phan

Argument 5 (day) is string but \mktime() takes int
Open

            $diz = date('D jS', mktime(1,1,1,$monthNumber,$day, $yearNumber));
Severity: Minor
Found in e107_plugins/_blank/e_dashboard.php by phan

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

        $var[0]['icon']     = "<img src='".e_PLUGIN."_blank/images/blank_16.png' alt='' />";
Severity: Info
Found in e107_plugins/_blank/e_dashboard.php by phan

Argument 4 (mon) is string but \mktime() takes int
Open

            $diz = date('D jS', mktime(1,1,1,$monthNumber,$day, $yearNumber));
Severity: Minor
Found in e107_plugins/_blank/e_dashboard.php by phan

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

        $var[0]['icon']     = "<img src='".e_PLUGIN."_blank/images/blank_16.png' alt='' />";
Severity: Info
Found in e107_plugins/_blank/e_dashboard.php by phan

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

            $diz = date('D jS', mktime(1,1,1,$monthNumber,$day, $yearNumber));
Severity: Minor
Found in e107_plugins/_blank/e_dashboard.php by phan

Suspicious type null of a variable or expression used to build a string. (Expected type to be able to cast to a string)
Open

        return "<div>".$cht->render($id, $width, $height)."</div>";
Severity: Minor
Found in e107_plugins/_blank/e_dashboard.php by phan

There are no issues that match your filters.

Category
Status