src/Zendesk/API/HttpClient.php
File HttpClient.php
has 274 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace Zendesk\API;
/*
Method getValidSubResources
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function getValidSubResources()
{
return [
'apps' => Apps::class,
'activities' => Activities::class,
Method __construct
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$subdomain,
$username = '',
$scheme = "https",
$hostname = "zendesk.com",
$port = 443,
Method setDebug
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$lastRequestHeaders,
$lastRequestBody,
$lastResponseCode,
$lastResponseHeaders,
$lastResponseError