brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function deserialize($data, $class, $httpHeaders = null)
    {
        if ($data === null) {
            return null;
        }
Severity: Major
Found in src/Buy/Browse/V1/ObjectSerializer.php - About 3 hrs to fix

    Method getItemGroupFeedRequest has 96 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getItemGroupFeedRequest($accept, $x_ebay_c_marketplace_id, $feed_scope, $category_id, $range = null, $date = null)
        {
            // Verify the required parameter 'accept' is set.
            if ($accept === null || (\is_array($accept) && count($accept) === 0)) {
                throw new \InvalidArgumentException('Missing the required parameter $accept when calling getItemGroupFeed');
    Severity: Major
    Found in src/Buy/FeedBeta/V1/Api/ItemGroupApi.php - About 3 hrs to fix

      Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public static function deserialize($data, $class, $httpHeaders = null)
          {
              if ($data === null) {
                  return null;
              }
      Severity: Major
      Found in src/Buy/Deal/V1/ObjectSerializer.php - About 3 hrs to fix

        Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public static function deserialize($data, $class, $httpHeaders = null)
            {
                if ($data === null) {
                    return null;
                }
        Severity: Major
        Found in src/Buy/FeedBeta/V1/ObjectSerializer.php - About 3 hrs to fix

          Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public static function deserialize($data, $class, $httpHeaders = null)
              {
                  if ($data === null) {
                      return null;
                  }
          Severity: Major
          Found in src/Buy/MarketplaceInsightsBeta/V1/ObjectSerializer.php - About 3 hrs to fix

            Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public static function deserialize($data, $class, $httpHeaders = null)
                {
                    if ($data === null) {
                        return null;
                    }
            Severity: Major
            Found in src/Buy/Feed/V1/ObjectSerializer.php - About 3 hrs to fix

              Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public static function deserialize($data, $class, $httpHeaders = null)
                  {
                      if ($data === null) {
                          return null;
                      }
              Severity: Major
              Found in src/Buy/MarketingBeta/V1/ObjectSerializer.php - About 3 hrs to fix

                Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public static function deserialize($data, $class, $httpHeaders = null)
                    {
                        if ($data === null) {
                            return null;
                        }
                Severity: Major
                Found in src/Buy/OfferBeta/V1/ObjectSerializer.php - About 3 hrs to fix

                  Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public static function deserialize($data, $class, $httpHeaders = null)
                      {
                          if ($data === null) {
                              return null;
                          }
                  Severity: Major
                  Found in src/Developer/ClientRegistration/V1/ObjectSerializer.php - About 3 hrs to fix

                    Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public static function deserialize($data, $class, $httpHeaders = null)
                        {
                            if ($data === null) {
                                return null;
                            }
                    Severity: Major
                    Found in src/Developer/AnalyticsBeta/V1/ObjectSerializer.php - About 3 hrs to fix

                      Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public static function deserialize($data, $class, $httpHeaders = null)
                          {
                              if ($data === null) {
                                  return null;
                              }
                      Severity: Major
                      Found in src/Buy/Order/V2/ObjectSerializer.php - About 3 hrs to fix

                        Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public static function deserialize($data, $class, $httpHeaders = null)
                            {
                                if ($data === null) {
                                    return null;
                                }
                        Severity: Major
                        Found in src/Developer/KeyManagement/V1/ObjectSerializer.php - About 3 hrs to fix

                          Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public static function deserialize($data, $class, $httpHeaders = null)
                              {
                                  if ($data === null) {
                                      return null;
                                  }
                          Severity: Major
                          Found in src/Sell/Logistics/V1/ObjectSerializer.php - About 3 hrs to fix

                            Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public static function deserialize($data, $class, $httpHeaders = null)
                                {
                                    if ($data === null) {
                                        return null;
                                    }
                            Severity: Major
                            Found in src/Sell/Metadata/V1/ObjectSerializer.php - About 3 hrs to fix

                              Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public static function deserialize($data, $class, $httpHeaders = null)
                                  {
                                      if ($data === null) {
                                          return null;
                                      }
                              Severity: Major
                              Found in src/Sell/ListingBeta/V1/ObjectSerializer.php - About 3 hrs to fix

                                Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public static function deserialize($data, $class, $httpHeaders = null)
                                    {
                                        if ($data === null) {
                                            return null;
                                        }
                                Severity: Major
                                Found in src/Sell/Finances/V1/ObjectSerializer.php - About 3 hrs to fix

                                  Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public static function deserialize($data, $class, $httpHeaders = null)
                                      {
                                          if ($data === null) {
                                              return null;
                                          }
                                  Severity: Major
                                  Found in src/Sell/Analytics/V1/ObjectSerializer.php - About 3 hrs to fix

                                    Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public static function deserialize($data, $class, $httpHeaders = null)
                                        {
                                            if ($data === null) {
                                                return null;
                                            }
                                    Severity: Major
                                    Found in src/Sell/Account/V2/ObjectSerializer.php - About 3 hrs to fix

                                      Method deserialize has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public static function deserialize($data, $class, $httpHeaders = null)
                                          {
                                              if ($data === null) {
                                                  return null;
                                              }
                                      Severity: Major
                                      Found in src/Sell/Marketing/V1/ObjectSerializer.php - About 3 hrs to fix

                                        Method getInventoryTasksRequest has 96 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function getInventoryTasksRequest($feed_type = null, $schedule_id = null, $look_back_days = null, $date_range = null, $limit = null, $offset = null)
                                            {
                                                $resourcePath = '/inventory_task';
                                                $formParams = [];
                                                $queryParams = [];
                                        Severity: Major
                                        Found in src/Sell/Feed/V1/Api/InventoryTaskApi.php - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language