Showing 2 of 2 total issues
AliyunOSSAdapter
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class AliyunOSSAdapter extends AbstractAdapter
{
private $aliyunClient;
private $bucket;
private $acl;
Method getContents
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function getContents($body)
{
$xml = new \SimpleXMLElement($body);
$paths = [];