brandon14/ebay-sdk-php

View on GitHub

Showing 2,539 of 3,709 total issues

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 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

      Function deleteAdWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function deleteAdWithHttpInfo($ad_id, $campaign_id)
          {
              $request = $this->deleteAdRequest($ad_id, $campaign_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/AdApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateAdRateStrategyWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateAdRateStrategyWithHttpInfo($campaign_id, $update_adrate_strategy_request)
          {
              $request = $this->updateAdRateStrategyRequest($campaign_id, $update_adrate_strategy_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function deleteCampaignWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function deleteCampaignWithHttpInfo($campaign_id)
          {
              $request = $this->deleteCampaignRequest($campaign_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function pauseCampaignWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function pauseCampaignWithHttpInfo($campaign_id)
          {
              $request = $this->pauseCampaignRequest($campaign_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateCampaignIdentificationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateCampaignIdentificationWithHttpInfo($campaign_id, $update_campaign_identification_request)
          {
              $request = $this->updateCampaignIdentificationRequest($campaign_id, $update_campaign_identification_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function createReportTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function createReportTaskWithHttpInfo($create_report_task)
          {
              $request = $this->createReportTaskRequest($create_report_task);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/AdReportTaskApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function deleteReportTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function deleteReportTaskWithHttpInfo($report_task_id)
          {
              $request = $this->deleteReportTaskRequest($report_task_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/AdReportTaskApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function deleteItemPriceMarkdownPromotionWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function deleteItemPriceMarkdownPromotionWithHttpInfo($promotion_id)
          {
              $request = $this->deleteItemPriceMarkdownPromotionRequest($promotion_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/ItemPriceMarkdownApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateKeywordWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateKeywordWithHttpInfo($campaign_id, $keyword_id, $update_keyword_request)
          {
              $request = $this->updateKeywordRequest($campaign_id, $keyword_id, $update_keyword_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/KeywordApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateNegativeKeywordWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateNegativeKeywordWithHttpInfo($negative_keyword_id, $update_negative_keyword_request)
          {
              $request = $this->updateNegativeKeywordRequest($negative_keyword_id, $update_negative_keyword_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/NegativeKeywordApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateAdGroupWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateAdGroupWithHttpInfo($ad_group_id, $campaign_id, $update_ad_group_request)
          {
              $request = $this->updateAdGroupRequest($ad_group_id, $campaign_id, $update_ad_group_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/AdGroupApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function pausePromotionWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function pausePromotionWithHttpInfo($promotion_id)
          {
              $request = $this->pausePromotionRequest($promotion_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/PromotionApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateBidWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateBidWithHttpInfo($ad_id, $campaign_id, $update_bid_percentage_request)
          {
              $request = $this->updateBidRequest($ad_id, $campaign_id, $update_bid_percentage_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/AdApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function resumeCampaignWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function resumeCampaignWithHttpInfo($campaign_id)
          {
              $request = $this->resumeCampaignRequest($campaign_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function deleteItemPromotionWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function deleteItemPromotionWithHttpInfo($promotion_id)
          {
              $request = $this->deleteItemPromotionRequest($promotion_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/ItemPromotionApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function resumePromotionWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function resumePromotionWithHttpInfo($promotion_id)
          {
              $request = $this->resumePromotionRequest($promotion_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/PromotionApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function updateCampaignBudgetWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function updateCampaignBudgetWithHttpInfo($campaign_id, $update_campaign_budget_request)
          {
              $request = $this->updateCampaignBudgetRequest($campaign_id, $update_campaign_budget_request);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Function endCampaignWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
      Open

          public function endCampaignWithHttpInfo($campaign_id)
          {
              $request = $this->endCampaignRequest($campaign_id);
      
              try {
      Severity: Minor
      Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 35 mins to fix

      Cognitive Complexity

      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

      A method's cognitive complexity is based on a few simple rules:

      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
      • Code is considered more complex for each "break in the linear flow of the code"
      • Code is considered more complex when "flow breaking structures are nested"

      Further reading

      Severity
      Category
      Status
      Source
      Language