src/Exception.php

Summary

Maintainability
A
45 mins
Test Coverage

Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function __construct($message = '', ?int $code = null, ?Throwable $previous = null, ?int $status = 500, ?array $params = [], ?array $solutions = [])
Severity: Minor
Found in src/Exception.php - About 45 mins to fix

    syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
    Open

        private array $solutions = [];
    Severity: Critical
    Found in src/Exception.php by phan

    Expected 1 blank line at end of file; 4 found
    Open

    }
    Severity: Minor
    Found in src/Exception.php by phpcodesniffer

    Line exceeds 120 characters; contains 159 characters
    Open

        public function __construct($message = '', ?int $code = null, ?Throwable $previous = null, ?int $status = 500, ?array $params = [], ?array $solutions = [])
    Severity: Minor
    Found in src/Exception.php by phpcodesniffer

    Whitespace found at end of line
    Open

     *       
    Severity: Minor
    Found in src/Exception.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status