twn39/flysystem-aliyun-oss

View on GitHub

Showing 2 of 2 total issues

AliyunOSSAdapter has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class AliyunOSSAdapter extends AbstractAdapter
{
    private $aliyunClient;
    private $bucket;
    private $acl;
Severity: Minor
Found in src/AliyunOSSAdapter.php - About 2 hrs to fix

    Method getContents has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function getContents($body)
        {
            $xml = new \SimpleXMLElement($body);
    
            $paths = [];
    Severity: Minor
    Found in src/AliyunOSSAdapter.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language