e107inc/e107

View on GitHub
e107_plugins/rss_menu/admin_prefs.php

Summary

Maintainability
A
0 mins
Test Coverage
F
11%

Argument 2 (pluginName) is true but \e107::getScBatch() takes string defined at /code/e107_handlers/e107_class.php:1608
Open

        $rss_shortcodes = e107::getScBatch('rss_menu', true);
Severity: Minor
Found in e107_plugins/rss_menu/admin_prefs.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

if(!getperms("P") || !e107::isInstalled('rss_menu'))
Severity: Minor
Found in e107_plugins/rss_menu/admin_prefs.php by phan

Assigning array<string></string> to property but \rss_admin->adminMenu is array{main/list:array{caption:'Manage',perm:'P'},main/import:array{caption:'Import',perm:'P'},main/prefs:array{caption:'Preferences',perm:'P'}}
Open

            $this->adminMenu['main/create'] = array('caption' => LAN_CREATE, 'perm' => 'P');
Severity: Minor
Found in e107_plugins/rss_menu/admin_prefs.php by phan

There are no issues that match your filters.

Category
Status