vragovR/safecrow-api

View on GitHub

Showing 2 of 8 total issues

Order has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class Order
{
    /**
     * @var string
     */
Severity: Minor
Found in src/Model/Order.php - About 3 hrs to fix

    Method handleRequest has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function handleRequest(RequestInterface $request, callable $next, callable $first): Promise
        {
            switch ($request->getMethod()) {
                case 'POST':
                    $data = sprintf(
    Severity: Minor
    Found in src/Plugin/AuthenticationPlugin.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language