brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Method uploadVideoAsyncWithHttpInfo has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function uploadVideoAsyncWithHttpInfo($content_type, $video_id, $content_length = null, $content_range = null, $body = null)
Severity: Minor
Found in src/Commerce/MediaBeta/V1/Api/VideoApi.php - About 35 mins to fix

    Method toQueryValue has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            $value,
            string $paramName,
            string $openApiType = 'string',
            string $style = 'form',
            bool $explode = true
    Severity: Minor
    Found in src/Commerce/CatalogBeta/V1/ObjectSerializer.php - About 35 mins to fix

      Method uploadVideo has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function uploadVideo($content_type, $video_id, $content_length = null, $content_range = null, $body = null)
      Severity: Minor
      Found in src/Commerce/MediaBeta/V1/Api/VideoApi.php - About 35 mins to fix

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

            public function __construct($message = '', $code = 0, $responseHeaders = [], $responseBody = null, \Throwable $previous = null)
        Severity: Minor
        Found in src/Commerce/Taxonomy/V1/ApiException.php - About 35 mins to fix

          Method toQueryValue has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

                  $value,
                  string $paramName,
                  string $openApiType = 'string',
                  string $style = 'form',
                  bool $explode = true
          Severity: Minor
          Found in src/Commerce/Charity/V1/ObjectSerializer.php - About 35 mins to fix

            Method toQueryValue has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    $value,
                    string $paramName,
                    string $openApiType = 'string',
                    string $style = 'form',
                    bool $explode = true
            Severity: Minor
            Found in src/Commerce/Taxonomy/V1/ObjectSerializer.php - About 35 mins to fix

              Method toQueryValue has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                      $value,
                      string $paramName,
                      string $openApiType = 'string',
                      string $style = 'form',
                      bool $explode = true
              Severity: Minor
              Found in src/Commerce/MediaBeta/V1/ObjectSerializer.php - About 35 mins to fix

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

                    public function __construct($message = '', $code = 0, $responseHeaders = [], $responseBody = null, \Throwable $previous = null)
                Severity: Minor
                Found in src/Commerce/Charity/V1/ApiException.php - About 35 mins to fix

                  Method getCharityOrgsWithHttpInfo has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public function getCharityOrgsWithHttpInfo($x_ebay_c_marketplace_id, $limit = null, $offset = null, $q = null, $registration_ids = null)
                  Severity: Minor
                  Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 35 mins to fix

                    Method getCharityOrgsAsyncWithHttpInfo has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public function getCharityOrgsAsyncWithHttpInfo($x_ebay_c_marketplace_id, $limit = null, $offset = null, $q = null, $registration_ids = null)
                    Severity: Minor
                    Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 35 mins to fix

                      Method getCharityOrgsRequest has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public function getCharityOrgsRequest($x_ebay_c_marketplace_id, $limit = null, $offset = null, $q = null, $registration_ids = null)
                      Severity: Minor
                      Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 35 mins to fix

                        Method getCharityOrgsAsync has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public function getCharityOrgsAsync($x_ebay_c_marketplace_id, $limit = null, $offset = null, $q = null, $registration_ids = null)
                        Severity: Minor
                        Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 35 mins to fix

                          Method getCharityOrgs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public function getCharityOrgs($x_ebay_c_marketplace_id, $limit = null, $offset = null, $q = null, $registration_ids = null)
                          Severity: Minor
                          Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 35 mins to fix

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $setters = [
                                    'available_quantity' => 'setAvailableQuantity',
                                    'category_id' => 'setCategoryId',
                                    'charity' => 'setCharity',
                                    'extended_producer_responsibility' => 'setExtendedProducerResponsibility',
                            Severity: Major
                            Found in src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $attributeMap = [
                                    'authenticity_verification' => 'authenticityVerification',
                                    'base_unit_price' => 'baseUnitPrice',
                                    'fees' => 'fees',
                                    'image' => 'image',
                            Severity: Major
                            Found in src/Buy/Order/V2/Model/OrderLineItemV2.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $getters = [
                                    'authenticity_verification' => 'getAuthenticityVerification',
                                    'base_unit_price' => 'getBaseUnitPrice',
                                    'fees' => 'getFees',
                                    'image' => 'getImage',
                            Severity: Major
                            Found in src/Buy/Order/V2/Model/OrderLineItemV2.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $setters = [
                                    'authenticity_verification' => 'setAuthenticityVerification',
                                    'base_unit_price' => 'setBaseUnitPrice',
                                    'fees' => 'setFees',
                                    'image' => 'setImage',
                            Severity: Major
                            Found in src/Buy/Order/V2/Model/OrderLineItemV2.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $attributeMap = [
                                    'available_quantity' => 'availableQuantity',
                                    'category_id' => 'categoryId',
                                    'charity' => 'charity',
                                    'extended_producer_responsibility' => 'extendedProducerResponsibility',
                            Severity: Major
                            Found in src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $openAPITypes = [
                                    'authenticity_verification' => '\TNT\Ebay\Buy\Order\V2\Model\AuthenticityVerificationProgram',
                                    'base_unit_price' => '\TNT\Ebay\Buy\Order\V2\Model\Amount',
                                    'fees' => '\TNT\Ebay\Buy\Order\V2\Model\Fee[]',
                                    'image' => '\TNT\Ebay\Buy\Order\V2\Model\Image',
                            Severity: Major
                            Found in src/Buy/Order/V2/Model/OrderLineItemV2.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 221..239

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Similar blocks of code found in 8 locations. Consider refactoring.
                            Open

                                protected static $getters = [
                                    'available_quantity' => 'getAvailableQuantity',
                                    'category_id' => 'getCategoryId',
                                    'charity' => 'getCharity',
                                    'extended_producer_responsibility' => 'getExtendedProducerResponsibility',
                            Severity: Major
                            Found in src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php and 7 other locations - About 35 mins to fix
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 96..114
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 171..189
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 196..214
                            src/Buy/Order/V2/Model/OrderLineItemV2.php on lines 221..239
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 96..114
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 171..189
                            src/Sell/Inventory/V1/Model/EbayOfferDetailsWithId.php on lines 196..214

                            Duplicated Code

                            Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                            Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                            When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                            Tuning

                            This issue has a mass of 92.

                            We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                            The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                            If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                            See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                            Refactorings

                            Further Reading

                            Severity
                            Category
                            Status
                            Source
                            Language