brandon14/ebay-sdk-php

View on GitHub

Showing 2,539 of 3,709 total issues

MerchandisedProduct has 32 functions (exceeds 20 allowed). Consider refactoring.
Open

class MerchandisedProduct implements ModelInterface, \ArrayAccess, \JsonSerializable
{
    public const DISCRIMINATOR = null;

    /**
Severity: Minor
Found in src/Buy/MarketingBeta/V1/Model/MerchandisedProduct.php - About 4 hrs to fix

    GuestPurchaseOrderV2 has 32 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class GuestPurchaseOrderV2 implements ModelInterface, \ArrayAccess, \JsonSerializable
    {
        public const DISCRIMINATOR = null;
    
        /**
    Severity: Minor
    Found in src/Buy/Order/V2/Model/GuestPurchaseOrderV2.php - About 4 hrs to fix

      Charge has 32 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class Charge implements ModelInterface, \ArrayAccess, \JsonSerializable
      {
          public const DISCRIMINATOR = null;
      
          /**
      Severity: Minor
      Found in src/Sell/Finances/V1/Model/Charge.php - About 4 hrs to fix

        NegativeKeywordResponse has 32 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class NegativeKeywordResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
        {
            public const DISCRIMINATOR = null;
        
            /**
        Severity: Minor
        Found in src/Sell/Marketing/V1/Model/NegativeKeywordResponse.php - About 4 hrs to fix

          Ad has 32 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class Ad implements ModelInterface, \ArrayAccess, \JsonSerializable
          {
              public const DISCRIMINATOR = null;
          
              /**
          Severity: Minor
          Found in src/Sell/Marketing/V1/Model/Ad.php - About 4 hrs to fix

            ItemsPagedCollection has 32 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class ItemsPagedCollection implements ModelInterface, \ArrayAccess, \JsonSerializable
            {
                public const DISCRIMINATOR = null;
            
                /**
            Severity: Minor
            Found in src/Sell/Marketing/V1/Model/ItemsPagedCollection.php - About 4 hrs to fix

              ServiceMetricsTask has 32 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class ServiceMetricsTask implements ModelInterface, \ArrayAccess, \JsonSerializable
              {
                  public const DISCRIMINATOR = null;
              
                  /**
              Severity: Minor
              Found in src/Sell/Feed/V1/Model/ServiceMetricsTask.php - About 4 hrs to fix

                Task has 32 functions (exceeds 20 allowed). Consider refactoring.
                Open

                class Task implements ModelInterface, \ArrayAccess, \JsonSerializable
                {
                    public const DISCRIMINATOR = null;
                
                    /**
                Severity: Minor
                Found in src/Sell/Feed/V1/Model/Task.php - About 4 hrs to fix

                  ListingPolicies has 32 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class ListingPolicies implements ModelInterface, \ArrayAccess, \JsonSerializable
                  {
                      public const DISCRIMINATOR = null;
                  
                      /**
                  Severity: Minor
                  Found in src/Sell/Inventory/V1/Model/ListingPolicies.php - About 4 hrs to fix

                    InventoryItemWithSkuLocaleGroupKeys has 32 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    class InventoryItemWithSkuLocaleGroupKeys implements ModelInterface, \ArrayAccess, \JsonSerializable
                    {
                        public const DISCRIMINATOR = null;
                    
                        /**
                    Severity: Minor
                    Found in src/Sell/Inventory/V1/Model/InventoryItemWithSkuLocaleGroupKeys.php - About 4 hrs to fix

                      OrderSearchPagedCollection has 32 functions (exceeds 20 allowed). Consider refactoring.
                      Open

                      class OrderSearchPagedCollection implements ModelInterface, \ArrayAccess, \JsonSerializable
                      {
                          public const DISCRIMINATOR = null;
                      
                          /**
                      Severity: Minor
                      Found in src/Sell/Fulfillment/V1/Model/OrderSearchPagedCollection.php - About 4 hrs to fix

                        DisputeEvidence has 32 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class DisputeEvidence implements ModelInterface, \ArrayAccess, \JsonSerializable
                        {
                            public const DISCRIMINATOR = null;
                        
                            /**
                        Severity: Minor
                        Found in src/Sell/Fulfillment/V1/Model/DisputeEvidence.php - About 4 hrs to fix

                          PricingSummary has 32 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class PricingSummary implements ModelInterface, \ArrayAccess, \JsonSerializable
                          {
                              public const DISCRIMINATOR = null;
                          
                              /**
                          Severity: Minor
                          Found in src/Sell/Fulfillment/V1/Model/PricingSummary.php - About 4 hrs to fix

                            ProductSearchResponse has 32 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class ProductSearchResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
                            {
                                public const DISCRIMINATOR = null;
                            
                                /**
                            Severity: Minor
                            Found in src/Commerce/CatalogBeta/V1/Model/ProductSearchResponse.php - About 4 hrs to fix

                              CharityOrg has 32 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              class CharityOrg implements ModelInterface, \ArrayAccess, \JsonSerializable
                              {
                                  public const DISCRIMINATOR = null;
                              
                                  /**
                              Severity: Minor
                              Found in src/Commerce/Charity/V1/Model/CharityOrg.php - About 4 hrs to fix

                                File PromotionReportDetail.php has 333 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                
                                /**
                                 * This file is part of the trollandtoad/ebay-sdk-php package.
                                 *
                                Severity: Minor
                                Found in src/Sell/Marketing/V1/Model/PromotionReportDetail.php - About 4 hrs to fix

                                  File Product.php has 333 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                  
                                  /**
                                   * This file is part of the trollandtoad/ebay-sdk-php package.
                                   *
                                  Severity: Minor
                                  Found in src/Commerce/CatalogBeta/V1/Model/Product.php - About 4 hrs to fix

                                    File ConfigApi.php has 333 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    <?php
                                    
                                    /**
                                     * This file is part of the trollandtoad/ebay-sdk-php package.
                                     *
                                    Severity: Minor
                                    Found in src/Commerce/Notification/V1/Api/ConfigApi.php - About 4 hrs to fix

                                      Method getItemFeedRequest has 99 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function getItemFeedRequest($accept, $x_ebay_c_marketplace_id, $range, $feed_scope, $category_id, $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 getItemFeed');
                                      Severity: Major
                                      Found in src/Buy/FeedBeta/V1/Api/ItemApi.php - About 3 hrs to fix

                                        Method getEventItemsRequest has 98 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function getEventItemsRequest($event_ids, $x_ebay_c_marketplace_id, $category_ids = null, $delivery_country = null, $limit = null, $offset = null)
                                            {
                                                // Verify the required parameter 'event_ids' is set.
                                                if ($event_ids === null || (\is_array($event_ids) && count($event_ids) === 0)) {
                                                    throw new \InvalidArgumentException('Missing the required parameter $event_ids when calling getEventItems');
                                        Severity: Major
                                        Found in src/Buy/Deal/V1/Api/EventItemApi.php - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language