Showing 3,709 of 3,709 total issues
File PromotionDetail.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File CreateReportTask.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File FulfillmentPolicy.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File Product.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
File Offer.php
has 273 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* This file is part of the trollandtoad/ebay-sdk-php package.
*
Method removeItemRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function removeItemRequest($remove_cart_item_input = null)
{
$resourcePath = '/shopping_cart/remove_item';
$formParams = [];
$queryParams = [];
Method addItemRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function addItemRequest($add_cart_item_input = null)
{
$resourcePath = '/shopping_cart/add_item';
$formParams = [];
$queryParams = [];
Method updateQuantityRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updateQuantityRequest($update_cart_item_input = null)
{
$resourcePath = '/shopping_cart/update_quantity';
$formParams = [];
$queryParams = [];
Method createFromShippingQuoteRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method createItemPromotionRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createItemPromotionRequest($item_promotion = null)
{
$resourcePath = '/item_promotion';
$formParams = [];
$queryParams = [];
Method createItemPriceMarkdownPromotionRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createItemPriceMarkdownPromotionRequest($item_price_markdown = null)
{
$resourcePath = '/item_price_markdown';
$formParams = [];
$queryParams = [];
Method bulkMigrateListingRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method createScheduleRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method publishOfferByInventoryItemGroupRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method bulkPublishOfferRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method bulkCreateOfferRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method bulkCreateOrReplaceInventoryItemRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method withdrawOfferByInventoryItemGroupRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method bulkGetInventoryItemRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');
Method bulkUpdatePriceQuantityRequest
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
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');