e107inc/e107

View on GitHub
e107_plugins/pm/pm_func.php

Summary

Maintainability
A
0 mins
Test Coverage
F
52%

Invalid offset "pm_limits" of array type array{}
Open

                $pm_info['outbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['outbox']['total'],'') : varset($pm_info['outbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Returning type void but pm_getInfo() is declared to return array
Open

            return;
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "size" of array type array{limit:mixed}
Open

                $pm_info['outbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['outbox']['total'],'') : varset($pm_info['outbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "total" of array type array{limit:mixed}|array{new:0}|array{new:int}
Open

                $pm_info['inbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['inbox']['total'],'') : varset($pm_info['inbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "pm_limits" of array type array{}
Open

            if(varset($this->pmPrefs['pm_limits'],0) > 0)
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "pm_limits" of array type array{}
Open

                $pm_info['inbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['inbox']['total'],'') : varset($pm_info['inbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "size" of array type array{limit:mixed}|array{new:0}|array{new:int}
Open

                $pm_info['inbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['inbox']['total'],'') : varset($pm_info['inbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "pm_limits" of array type array{}
Open

                if($this->pmPrefs['pm_limits'] == 1)
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

Invalid offset "total" of array type array{limit:mixed}
Open

                $pm_info['outbox']['limit_val'] = ($this->pmPrefs['pm_limits'] == 1 ? varset($pm_info['outbox']['total'],'') : varset($pm_info['outbox']['size'],''));
Severity: Minor
Found in e107_plugins/pm/pm_func.php by phan

There are no issues that match your filters.

Category
Status