mcred/FeedMeNow-PHP

View on GitHub

Showing 4 of 23 total issues

Restaurant has 23 functions (exceeds 20 allowed). Consider refactoring.
Open

class Restaurant
{
    private $id;
    private $name;
    private $imageUrl;
Severity: Minor
Found in src/FeedMeNow/Model/Restaurant.php - About 2 hrs to fix

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

            $id,
            $name,
            $imageUrl,
            $isClaimed,
            $isClosed,
    Severity: Major
    Found in src/FeedMeNow/Model/Restaurant.php - About 2 hrs to fix

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

              $address1,
              $address2,
              $address3,
              $city,
              $zipCode,
      Severity: Major
      Found in src/FeedMeNow/Model/Address.php - About 1 hr to fix

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

                $name,
                $url,
                $fee,
                $serviceFee,
                $minimum,
        Severity: Major
        Found in src/FeedMeNow/Model/Provider.php - About 50 mins to fix
          Severity
          Category
          Status
          Source
          Language