brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Method deleteDestinationRequest has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function deleteDestinationRequest($destination_id)
    {
        // Verify the required parameter 'destination_id' is set.
        if ($destination_id === null || (\is_array($destination_id) && count($destination_id) === 0)) {
            throw new \InvalidArgumentException('Missing the required parameter $destination_id when calling deleteDestination');
Severity: Major
Found in src/Commerce/Notification/V1/Api/DestinationApi.php - About 2 hrs to fix

    Method getDefaultCategoryTreeIdRequest has 67 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getDefaultCategoryTreeIdRequest($marketplace_id, $accept_language = null)
        {
            // Verify the required parameter 'marketplace_id' is set.
            if ($marketplace_id === null || (\is_array($marketplace_id) && count($marketplace_id) === 0)) {
                throw new \InvalidArgumentException('Missing the required parameter $marketplace_id when calling getDefaultCategoryTreeId');
    Severity: Major
    Found in src/Commerce/Taxonomy/V1/Api/CategoryTreeApi.php - About 2 hrs to fix

      Price has 24 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class Price implements ModelInterface, \ArrayAccess, \JsonSerializable
      {
          public const DISCRIMINATOR = null;
      
          /**
      Severity: Minor
      Found in src/Buy/Browse/V1/Model/Price.php - About 2 hrs to fix

        AddonService has 24 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class AddonService implements ModelInterface, \ArrayAccess, \JsonSerializable
        {
            public const DISCRIMINATOR = null;
        
            /**
        Severity: Minor
        Found in src/Buy/Browse/V1/Model/AddonService.php - About 2 hrs to fix

          CategoryDistribution has 24 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class CategoryDistribution implements ModelInterface, \ArrayAccess, \JsonSerializable
          {
              public const DISCRIMINATOR = null;
          
              /**
          Severity: Minor
          Found in src/Buy/Browse/V1/Model/CategoryDistribution.php - About 2 hrs to fix

            Seller has 24 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class Seller implements ModelInterface, \ArrayAccess, \JsonSerializable
            {
                public const DISCRIMINATOR = null;
            
                /**
            Severity: Minor
            Found in src/Buy/Browse/V1/Model/Seller.php - About 2 hrs to fix

              MarketingPrice has 24 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class MarketingPrice implements ModelInterface, \ArrayAccess, \JsonSerializable
              {
                  public const DISCRIMINATOR = null;
              
                  /**
              Severity: Minor
              Found in src/Buy/Browse/V1/Model/MarketingPrice.php - About 2 hrs to fix

                ConvertedAmount has 24 functions (exceeds 20 allowed). Consider refactoring.
                Open

                class ConvertedAmount implements ModelInterface, \ArrayAccess, \JsonSerializable
                {
                    public const DISCRIMINATOR = null;
                
                    /**
                Severity: Minor
                Found in src/Buy/Browse/V1/Model/ConvertedAmount.php - About 2 hrs to fix

                  ConditionDistribution has 24 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  class ConditionDistribution implements ModelInterface, \ArrayAccess, \JsonSerializable
                  {
                      public const DISCRIMINATOR = null;
                  
                      /**
                  Severity: Minor
                  Found in src/Buy/Browse/V1/Model/ConditionDistribution.php - About 2 hrs to fix

                    PaymentMethod has 24 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    class PaymentMethod implements ModelInterface, \ArrayAccess, \JsonSerializable
                    {
                        public const DISCRIMINATOR = null;
                    
                        /**
                    Severity: Minor
                    Found in src/Buy/Browse/V1/Model/PaymentMethod.php - About 2 hrs to fix

                      ConvertedAmount has 24 functions (exceeds 20 allowed). Consider refactoring.
                      Open

                      class ConvertedAmount implements ModelInterface, \ArrayAccess, \JsonSerializable
                      {
                          public const DISCRIMINATOR = null;
                      
                          /**
                      Severity: Minor
                      Found in src/Buy/MarketplaceInsightsBeta/V1/Model/ConvertedAmount.php - About 2 hrs to fix

                        MarketingPrice has 24 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        class MarketingPrice implements ModelInterface, \ArrayAccess, \JsonSerializable
                        {
                            public const DISCRIMINATOR = null;
                        
                            /**
                        Severity: Minor
                        Found in src/Buy/Deal/V1/Model/MarketingPrice.php - About 2 hrs to fix

                          CategoryDistribution has 24 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class CategoryDistribution implements ModelInterface, \ArrayAccess, \JsonSerializable
                          {
                              public const DISCRIMINATOR = null;
                          
                              /**
                          Severity: Minor
                          Found in src/Buy/MarketplaceInsightsBeta/V1/Model/CategoryDistribution.php - About 2 hrs to fix

                            Image has 24 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class Image implements ModelInterface, \ArrayAccess, \JsonSerializable
                            {
                                public const DISCRIMINATOR = null;
                            
                                /**
                            Severity: Minor
                            Found in src/Buy/Deal/V1/Model/Image.php - About 2 hrs to fix

                              SupportedSchema has 24 functions (exceeds 20 allowed). Consider refactoring.
                              Open

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

                                RatingAspect has 24 functions (exceeds 20 allowed). Consider refactoring.
                                Open

                                class RatingAspect implements ModelInterface, \ArrayAccess, \JsonSerializable
                                {
                                    public const DISCRIMINATOR = null;
                                
                                    /**
                                Severity: Minor
                                Found in src/Buy/MarketingBeta/V1/Model/RatingAspect.php - About 2 hrs to fix

                                  ConditionDistribution has 24 functions (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  class ConditionDistribution implements ModelInterface, \ArrayAccess, \JsonSerializable
                                  {
                                      public const DISCRIMINATOR = null;
                                  
                                      /**
                                  Severity: Minor
                                  Found in src/Buy/MarketplaceInsightsBeta/V1/Model/ConditionDistribution.php - About 2 hrs to fix

                                    Rate has 24 functions (exceeds 20 allowed). Consider refactoring.
                                    Open

                                    class Rate implements ModelInterface, \ArrayAccess, \JsonSerializable
                                    {
                                        public const DISCRIMINATOR = null;
                                    
                                        /**
                                    Severity: Minor
                                    Found in src/Developer/AnalyticsBeta/V1/Model/Rate.php - About 2 hrs to fix

                                      RateLimit has 24 functions (exceeds 20 allowed). Consider refactoring.
                                      Open

                                      class RateLimit implements ModelInterface, \ArrayAccess, \JsonSerializable
                                      {
                                          public const DISCRIMINATOR = null;
                                      
                                          /**
                                      Severity: Minor
                                      Found in src/Developer/AnalyticsBeta/V1/Model/RateLimit.php - About 2 hrs to fix

                                        AuthenticityVerificationProgram has 24 functions (exceeds 20 allowed). Consider refactoring.
                                        Open

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