Skip to content

Cannot install because only php-mock 1.x is supported #8

@iquito

Description

@iquito

php-mock-mockery only supports php-mock 1.x, so after installing php-mock 2.0 the following errors occur in composer:

Problem 1
- php-mock/php-mock-integration 1.0.0 requires php-mock/php-mock ^1 -> satisfiable by php-mock/php-mock[1.0.0, 1.0.1] but these conflict with your requirements or minimum-stability.
- php-mock/php-mock-mockery 1.2.0 requires php-mock/php-mock-integration ^1 -> satisfiable by php-mock/php-mock-integration[1.0.0].
- Installation request for php-mock/php-mock-mockery ^1.2 -> satisfiable by php-mock/php-mock-mockery[1.2.0].

I suspect this is probably just an oversight in composer.json, or is there a specific reason why php-mock-mockery would not work with php-mock 2.0? I posted the issue here although the problematic package is actually php-mock-integration, but I suspect nobody installs that package specifically.

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