Skip to content

[Insight] Missing use statement should be avoided #505

@fzaninotto

Description

@fzaninotto

in app/code/Magento/Install/Model/Installer/Pear.php, line 76

The PEAR_PackageFile class resolves to the Magento\Install\Model\Installer\PEAR_PackageFile class which PHP does not seem to be able to autoload.

     * @return bool
     */
    public function checkDownloads()
    {
        $pear = new \Magento\Pear;
        $pkg = new PEAR_PackageFile($pear->getConfig(), false);
        $result = true;
        foreach ($this->getPackages() as $package) {
            $obj = $pkg->fromAnyFile($package, PEAR_VALIDATE_NORMAL);
            if (PEAR::isError($obj)) {
                $uinfo = $obj->getUserInfo();

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions