railt/exception

View on GitHub

Showing 4 of 4 total issues

Item has 22 functions (exceeds 20 allowed). Consider refactoring.
Open

class Item implements ItemInterface, MutableItemInterface, \JsonSerializable, \ArrayAccess
{
    /**
     * @var string
     */
Severity: Minor
Found in src/Exception/Trace/Item.php - About 2 hrs to fix

    Avoid too many return statements within this method.
    Open

                    return \gettype($value);
    Severity: Major
    Found in src/Exception/Trace/FunctionItem.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return (string)$value;
      Severity: Major
      Found in src/Exception/Trace/FunctionItem.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return 'NULL';
        Severity: Major
        Found in src/Exception/Trace/FunctionItem.php - About 30 mins to fix
          Severity
          Category
          Status
          Source
          Language