private function loadFile()

in src/Credentials/Ini/IniCredential.php [137:156]


    private function loadFile()
    {
        if (!\AlibabaCloud\Client\inOpenBasedir($this->filename)) {
            return [];
        }

        if (!\is_readable($this->filename) || !\is_file($this->filename)) {
            if ($this->filename === $this->getDefaultFile()) {
                // @codeCoverageIgnoreStart
                return [];
                // @codeCoverageIgnoreEnd
            }
            throw new ClientException(
                'Credential file is not readable: ' . $this->getFilename(),
                SDK::INVALID_CREDENTIAL
            );
        }

        return $this->parseFile();
    }