e107inc/e107

View on GitHub
e107_themes/bootstrap5/theme.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Class \theme defined at /code/e107_themes/bootstrap5/theme.php:10 was previously defined as Class \theme at /code/e107_themes/bootstrap3/theme.php:21
Open

    class theme implements e_theme_render
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Argument 3 (default) is false but \e107::pref() takes null defined at /code/e107_handlers/e107_class.php:4016
Open

            $login_iframe  = e107::pref('theme', 'login_iframe', false);
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Method \theme,1::tablestyle is declared to return mixed but has no return value
Open

        function tablestyle($caption, $text, $mode='', $data = array())
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Argument 1 (name) is 'viewport' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('viewport', 'width=device-width, initial-scale=1.0'); // added to <head>
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Argument 2 (content) is 'width=device-width, initial-scale=1.0' but \e107::meta() takes null defined at /code/e107_handlers/e107_class.php:2861
Open

            e107::meta('viewport', 'width=device-width, initial-scale=1.0'); // added to <head>
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

Method \theme,1::init is declared to return mixed but has no return value
Open

        public function init()
Severity: Minor
Found in e107_themes/bootstrap5/theme.php by phan

There are no issues that match your filters.

Category
Status