filestack/Filelink.php
Filelink
has 52 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Filelink
{
use Mixins\CommonMixin;
use Mixins\TransformationMixin;
File Filelink.php
has 403 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace Filestack;
use GuzzleHttp\Client;
use Filestack\FilestackConfig;
The class Filelink has an overall complexity of 61 which is very high. The configured complexity threshold is 50. Invalid
Invalid
class Filelink
{
use Mixins\CommonMixin;
use Mixins\TransformationMixin;
- Exclude checks
Method collage
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function collage($files, $width, $height,
$color = 'white', $fit = 'auto', $margin = 10, $auto_rotate = false)
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function __construct($handle, $api_key = '', $security = null,
$http_client = null, $cname = null)
Method ascii
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function ascii($background = 'white', $colored = false,
$foreground='red', $reverse = false, $size = 100)