brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

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

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

      File FulfillmentPolicy.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/Account/V1/Model/FulfillmentPolicy.php - About 2 hrs to fix

        File Product.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/Inventory/V1/Model/Product.php - About 2 hrs to fix

          File Offer.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/Negotiation/V1/Model/Offer.php - About 2 hrs to fix

            Method removeItemRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function removeItemRequest($remove_cart_item_input = null)
                {
                    $resourcePath = '/shopping_cart/remove_item';
                    $formParams = [];
                    $queryParams = [];
            Severity: Major
            Found in src/Buy/Browse/V1/Api/ShoppingCartApi.php - About 2 hrs to fix

              Method addItemRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function addItemRequest($add_cart_item_input = null)
                  {
                      $resourcePath = '/shopping_cart/add_item';
                      $formParams = [];
                      $queryParams = [];
              Severity: Major
              Found in src/Buy/Browse/V1/Api/ShoppingCartApi.php - About 2 hrs to fix

                Method updateQuantityRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function updateQuantityRequest($update_cart_item_input = null)
                    {
                        $resourcePath = '/shopping_cart/update_quantity';
                        $formParams = [];
                        $queryParams = [];
                Severity: Major
                Found in src/Buy/Browse/V1/Api/ShoppingCartApi.php - About 2 hrs to fix

                  Method createFromShippingQuoteRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

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

                    Method createItemPromotionRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function createItemPromotionRequest($item_promotion = null)
                        {
                            $resourcePath = '/item_promotion';
                            $formParams = [];
                            $queryParams = [];
                    Severity: Major
                    Found in src/Sell/Marketing/V1/Api/ItemPromotionApi.php - About 2 hrs to fix

                      Method createItemPriceMarkdownPromotionRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function createItemPriceMarkdownPromotionRequest($item_price_markdown = null)
                          {
                              $resourcePath = '/item_price_markdown';
                              $formParams = [];
                              $queryParams = [];
                      Severity: Major
                      Found in src/Sell/Marketing/V1/Api/ItemPriceMarkdownApi.php - About 2 hrs to fix

                        Method bulkMigrateListingRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

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

                          Method createScheduleRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

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

                            Method publishOfferByInventoryItemGroupRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

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

                              Method bulkPublishOfferRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

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

                                Method bulkCreateOfferRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

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

                                  Method bulkCreateOrReplaceInventoryItemRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

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

                                    Method withdrawOfferByInventoryItemGroupRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

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

                                      Method bulkGetInventoryItemRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

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

                                        Method bulkUpdatePriceQuantityRequest has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

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