brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Method getInventoryLocationRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getInventoryLocationRequest($merchant_location_key)
    {
        // Verify the required parameter 'merchant_location_key' is set.
        if ($merchant_location_key === null || (\is_array($merchant_location_key) && count($merchant_location_key) === 0)) {
            throw new \InvalidArgumentException('Missing the required parameter $merchant_location_key when calling getInventoryLocation');
Severity: Major
Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 2 hrs to fix

    Method deleteProductCompatibilityRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function deleteProductCompatibilityRequest($sku)
        {
            // Verify the required parameter 'sku' is set.
            if ($sku === null || (\is_array($sku) && count($sku) === 0)) {
                throw new \InvalidArgumentException('Missing the required parameter $sku when calling deleteProductCompatibility');
    Severity: Major
    Found in src/Sell/Inventory/V1/Api/ProductCompatibilityApi.php - About 2 hrs to fix

      Method deleteInventoryLocationRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function deleteInventoryLocationRequest($merchant_location_key)
          {
              // Verify the required parameter 'merchant_location_key' is set.
              if ($merchant_location_key === null || (\is_array($merchant_location_key) && count($merchant_location_key) === 0)) {
                  throw new \InvalidArgumentException('Missing the required parameter $merchant_location_key when calling deleteInventoryLocation');
      Severity: Major
      Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 2 hrs to fix

        Method getProductCompatibilityRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function getProductCompatibilityRequest($sku)
            {
                // Verify the required parameter 'sku' is set.
                if ($sku === null || (\is_array($sku) && count($sku) === 0)) {
                    throw new \InvalidArgumentException('Missing the required parameter $sku when calling getProductCompatibility');
        Severity: Major
        Found in src/Sell/Inventory/V1/Api/ProductCompatibilityApi.php - About 2 hrs to fix

          Method getOfferRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function getOfferRequest($offer_id)
              {
                  // Verify the required parameter 'offer_id' is set.
                  if ($offer_id === null || (\is_array($offer_id) && count($offer_id) === 0)) {
                      throw new \InvalidArgumentException('Missing the required parameter $offer_id when calling getOffer');
          Severity: Major
          Found in src/Sell/Inventory/V1/Api/OfferApi.php - About 2 hrs to fix

            Method getInventoryItemRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function getInventoryItemRequest($sku)
                {
                    // Verify the required parameter 'sku' is set.
                    if ($sku === null || (\is_array($sku) && count($sku) === 0)) {
                        throw new \InvalidArgumentException('Missing the required parameter $sku when calling getInventoryItem');
            Severity: Major
            Found in src/Sell/Inventory/V1/Api/InventoryItemApi.php - About 2 hrs to fix

              Method publishOfferRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function publishOfferRequest($offer_id)
                  {
                      // Verify the required parameter 'offer_id' is set.
                      if ($offer_id === null || (\is_array($offer_id) && count($offer_id) === 0)) {
                          throw new \InvalidArgumentException('Missing the required parameter $offer_id when calling publishOffer');
              Severity: Major
              Found in src/Sell/Inventory/V1/Api/OfferApi.php - About 2 hrs to fix

                Method deleteInventoryItemRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function deleteInventoryItemRequest($sku)
                    {
                        // Verify the required parameter 'sku' is set.
                        if ($sku === null || (\is_array($sku) && count($sku) === 0)) {
                            throw new \InvalidArgumentException('Missing the required parameter $sku when calling deleteInventoryItem');
                Severity: Major
                Found in src/Sell/Inventory/V1/Api/InventoryItemApi.php - About 2 hrs to fix

                  Method withdrawOfferRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function withdrawOfferRequest($offer_id)
                      {
                          // Verify the required parameter 'offer_id' is set.
                          if ($offer_id === null || (\is_array($offer_id) && count($offer_id) === 0)) {
                              throw new \InvalidArgumentException('Missing the required parameter $offer_id when calling withdrawOffer');
                  Severity: Major
                  Found in src/Sell/Inventory/V1/Api/OfferApi.php - About 2 hrs to fix

                    Method deleteOfferRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function deleteOfferRequest($offer_id)
                        {
                            // Verify the required parameter 'offer_id' is set.
                            if ($offer_id === null || (\is_array($offer_id) && count($offer_id) === 0)) {
                                throw new \InvalidArgumentException('Missing the required parameter $offer_id when calling deleteOffer');
                    Severity: Major
                    Found in src/Sell/Inventory/V1/Api/OfferApi.php - About 2 hrs to fix

                      Method getListingViolationsSummaryRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function getListingViolationsSummaryRequest($x_ebay_c_marketplace_id = null, $compliance_type = null)
                          {
                              $resourcePath = '/listing_violation_summary';
                              $formParams = [];
                              $queryParams = [];
                      Severity: Major
                      Found in src/Sell/Compliance/V1/Api/ListingViolationSummaryApi.php - About 2 hrs to fix

                        Method getShippingFulfillmentsRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function getShippingFulfillmentsRequest($order_id)
                            {
                                // Verify the required parameter 'order_id' is set.
                                if ($order_id === null || (\is_array($order_id) && count($order_id) === 0)) {
                                    throw new \InvalidArgumentException('Missing the required parameter $order_id when calling getShippingFulfillments');
                        Severity: Major
                        Found in src/Sell/Fulfillment/V1/Api/ShippingFulfillmentApi.php - About 2 hrs to fix

                          Method getCategoryTreeRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

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

                            Method getVideoRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

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

                              Method fetchItemAspectsRequest has 64 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

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

                                File ItemApi.php has 273 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/Buy/FeedBeta/V1/Api/ItemApi.php - About 2 hrs to fix

                                  File ClientDetails.php has 273 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/Developer/ClientRegistration/V1/Model/ClientDetails.php - About 2 hrs to fix

                                    File Payout.php has 273 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/Finances/V1/Model/Payout.php - About 2 hrs to fix

                                      File ItemPriceMarkdown.php has 273 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/ItemPriceMarkdown.php - About 2 hrs to fix

                                        File ListingDetail.php has 273 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/ListingDetail.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language