Showing 3,709 of 3,709 total issues
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File ObjectSerializer.php
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
Method getShoppingCartRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getShoppingCartRequest()
{
$resourcePath = '/shopping_cart/';
$formParams = [];
$queryParams = [];
Method getSellerFundsSummaryRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getSellerFundsSummaryRequest($x_ebay_c_marketplace_id = null)
{
$resourcePath = '/seller_funds_summary';
$formParams = [];
$queryParams = [];
Method getReportMetadataRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getReportMetadataRequest()
{
$resourcePath = '/ad_report_metadata';
$formParams = [];
$queryParams = [];
Method getOptedInProgramsRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getOptedInProgramsRequest()
{
$resourcePath = '/program/get_opted_in_programs';
$formParams = [];
$queryParams = [];
Method getPrivilegesRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getPrivilegesRequest()
{
$resourcePath = '/privilege';
$formParams = [];
$queryParams = [];
Method getKYCRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getKYCRequest()
{
$resourcePath = '/kyc';
$formParams = [];
$queryParams = [];
Method getConfigRequest
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getConfigRequest()
{
$resourcePath = '/config';
$formParams = [];
$queryParams = [];
Function getShoppingCartRequest
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
public function getShoppingCartRequest()
{
$resourcePath = '/shopping_cart/';
$formParams = [];
$queryParams = [];
- Read upRead up
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 getItemsRequest
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
public function getItemsRequest($item_ids = null, $item_group_ids = null)
{
$resourcePath = '/item/';
$formParams = [];
$queryParams = [];
- Read upRead up
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 searchRequest
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
public function searchRequest($aspect_filter = null, $auto_correct = null, $category_ids = null, $charity_ids = null, $compatibility_filter = null, $epid = null, $fieldgroups = null, $filter = null, $gtin = null, $limit = null, $offset = null, $q = null, $sort = null)
{
$resourcePath = '/item_summary/search';
$formParams = [];
$queryParams = [];
- Read upRead up
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 getRateLimitsRequest
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
public function getRateLimitsRequest($api_context = null, $api_name = null)
{
$resourcePath = '/rate_limit/';
$formParams = [];
$queryParams = [];
- Read upRead up
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 getUserRateLimitsRequest
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
public function getUserRateLimitsRequest($api_context = null, $api_name = null)
{
$resourcePath = '/user_rate_limit/';
$formParams = [];
$queryParams = [];
- Read upRead up
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"