e107inc/e107

View on GitHub
e107_handlers/core_functions.php

Summary

Maintainability
A
1 hr
Test Coverage
F
53%

Avoid too many return statements within this method.
Open

            return array();
Severity: Major
Found in e107_handlers/core_functions.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

            return $data;        
    Severity: Major
    Found in e107_handlers/core_functions.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return array();
      Severity: Major
      Found in e107_handlers/core_functions.php - About 30 mins to fix

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

                    $sort_values[$i] = $k[$key];
        Severity: Info
        Found in e107_handlers/core_functions.php by phan

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

                   $sort_values[$i] = varset($arr[$key]);
        Severity: Info
        Found in e107_handlers/core_functions.php by phan

        Returning type null but unserialize() is declared to return array|bool
        Open

                        return null;
        Severity: Minor
        Found in e107_handlers/core_functions.php by phan

        Argument 1 (str) is ?string but \trim() takes string
        Open

                $ArrayData = trim($ArrayData);
        Severity: Minor
        Found in e107_handlers/core_functions.php by phan

        There are no issues that match your filters.

        Category
        Status