brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

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

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

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

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

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

          public function getPayoutSummaryRequest($x_ebay_c_marketplace_id = null, $filter = null)
          {
              $resourcePath = '/payout_summary';
              $formParams = [];
              $queryParams = [];
      Severity: Major
      Found in src/Sell/Finances/V1/Api/PayoutApi.php - About 2 hrs to fix

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

            public function getTransactionSummaryRequest($x_ebay_c_marketplace_id = null, $filter = null)
            {
                $resourcePath = '/transaction_summary';
                $formParams = [];
                $queryParams = [];
        Severity: Major
        Found in src/Sell/Finances/V1/Api/TransactionApi.php - About 2 hrs to fix

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

              public function getRateTableRequest($rate_table_id)
              {
                  // Verify the required parameter 'rate_table_id' is set.
                  if ($rate_table_id === null || (\is_array($rate_table_id) && count($rate_table_id) === 0)) {
                      throw new \InvalidArgumentException('Missing the required parameter $rate_table_id when calling getRateTable');
          Severity: Major
          Found in src/Sell/Account/V2/Api/RateTableApi.php - About 2 hrs to fix

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

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

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

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

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

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

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

                      public function getRateTablesRequest($country_code = null)
                      {
                          $resourcePath = '/rate_table';
                          $formParams = [];
                          $queryParams = [];
                  Severity: Major
                  Found in src/Sell/Account/V1/Api/RateTableApi.php - About 2 hrs to fix

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

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

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

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

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

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

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

                              public function disableInventoryLocationRequest($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 disableInventoryLocation');
                          Severity: Major
                          Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 2 hrs to fix

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

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

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

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

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

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

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

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

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

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

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

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

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

                                            public function enableInventoryLocationRequest($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 enableInventoryLocation');
                                        Severity: Major
                                        Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language