Skip to content

Install dependency failed when library does not exists. #26

@jaceju

Description

@jaceju

package.ini 中加入:

[require]
pear.jaceju.net/Test

pear.jaceju.net/Test 不存在時,會出現以下錯誤:

PHP Fatal error:  Call to a member function getId() on a non-object in phar:///path/to/onion/Onion/Dependency/DependencyPool.php on line 2

建議當套件不存在時,能出現錯誤提示訊息,並提供繼續安裝之選項。

Metadata

Metadata

Assignees

No one assigned

    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