brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

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

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

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

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

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

          public function getPaymentPoliciesRequest($marketplace_id)
          {
              // 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 getPaymentPolicies');
      Severity: Major
      Found in src/Sell/Account/V1/Api/PaymentPolicyApi.php - About 2 hrs to fix

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

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

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

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

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

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

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

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

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

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

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

                      public function getReturnPoliciesRequest($marketplace_id)
                      {
                          // 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 getReturnPolicies');
                  Severity: Major
                  Found in src/Sell/Account/V1/Api/ReturnPolicyApi.php - About 2 hrs to fix

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

                        public function getFulfillmentPoliciesRequest($marketplace_id)
                        {
                            // 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 getFulfillmentPolicies');
                    Severity: Major
                    Found in src/Sell/Account/V1/Api/FulfillmentPolicyApi.php - About 2 hrs to fix

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

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

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

                            public function getDestinationRequest($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 getDestination');
                        Severity: Major
                        Found in src/Commerce/Notification/V1/Api/DestinationApi.php - About 2 hrs to fix

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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