e107inc/e107

View on GitHub
e107_plugins/user/usertheme_menu.php

Summary

Maintainability
A
0 mins
Test Coverage
B
88%

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

                $themecount[$file] = 0;
Severity: Info
Found in e107_plugins/user/usertheme_menu.php by phan

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

                $themelist[] = $file;
Severity: Info
Found in e107_plugins/user/usertheme_menu.php by phan

Suspicious array access to nullable ?array|?array<string></string>
Open

        $themecount[$defaulttheme] += $defaultusers;
Severity: Minor
Found in e107_plugins/user/usertheme_menu.php by phan

Suspicious array access to nullable ?array|?array<string></string>
Open

            $text .= ">".($themelist[$counter] == $defaulttheme ? "[ ".$themelist[$counter]." ]" : $themelist[$counter]).' ('.LAN_UMENU_THEME_3.' '.$themecount[$themelist[$counter]].")</option>\n";
Severity: Minor
Found in e107_plugins/user/usertheme_menu.php by phan

There are no issues that match your filters.

Category
Status