Skip to content

symfony/console locked on 2.6 #8738

@peterjaap

Description

@peterjaap

The required version for symfony/console for Magento 2 is "symfony/console": "~2.3, !=2.7.0",, which right now is at 2.6.3. To be able to use Sensiolab's security-checker version 4.0 and up, to be able to use with GrumPHP, we need at least 2.7.

Right now we're stuck using version 3.0.2 of security-checker since that is the newest version compatible with symfony/console 2.6.x.

Preconditions

  1. Magento 2.1.5

Steps to reproduce

  1. Run composer require sensiolabs/security-checker:^4.0

Expected result

  1. It should install the security checker

Actual result

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install sensiolabs/security-checker v4.0.1
    - Conclusion: remove symfony/console v2.6.13
    - Installation request for sensiolabs/security-checker ^4.0 -> satisfiable by sensiolabs/security-checker[v4.0.0, v4.0.1].
    - Conclusion: don't install symfony/console v2.6.13
    - sensiolabs/security-checker v4.0.0 requires symfony/console ~2.7|~3.0 -> satisfiable by symfony/console[v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.0-BETA1, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.0-BETA1, v3.2.0-RC1, v3.2.0-RC2, v3.2.1, v3.2.2, v3.2.3, v3.2.4].
    - Can only install one of: symfony/console[v2.7.0, v2.6.13].
    - Can only install one of: symfony/console[v2.7.0-BETA1, v2.6.13].
    - Can only install one of: symfony/console[v2.7.0-BETA2, v2.6.13].
    - Can only install one of: symfony/console[v2.7.1, v2.6.13].
    - Can only install one of: symfony/console[v2.7.10, v2.6.13].
    - Can only install one of: symfony/console[v2.7.11, v2.6.13].
    - Can only install one of: symfony/console[v2.7.12, v2.6.13].
    - Can only install one of: symfony/console[v2.7.13, v2.6.13].
    - Can only install one of: symfony/console[v2.7.14, v2.6.13].
    - Can only install one of: symfony/console[v2.7.15, v2.6.13].
    - Can only install one of: symfony/console[v2.7.16, v2.6.13].
    - Can only install one of: symfony/console[v2.7.17, v2.6.13].
    - Can only install one of: symfony/console[v2.7.18, v2.6.13].
    - Can only install one of: symfony/console[v2.7.19, v2.6.13].
    - Can only install one of: symfony/console[v2.7.2, v2.6.13].
    - Can only install one of: symfony/console[v2.7.20, v2.6.13].
    - Can only install one of: symfony/console[v2.7.21, v2.6.13].
    - Can only install one of: symfony/console[v2.7.22, v2.6.13].
    - Can only install one of: symfony/console[v2.7.23, v2.6.13].
    - Can only install one of: symfony/console[v2.7.24, v2.6.13].
    - Can only install one of: symfony/console[v2.7.3, v2.6.13].
    - Can only install one of: symfony/console[v2.7.4, v2.6.13].
    - Can only install one of: symfony/console[v2.7.5, v2.6.13].
    - Can only install one of: symfony/console[v2.7.6, v2.6.13].
    - Can only install one of: symfony/console[v2.7.7, v2.6.13].
    - Can only install one of: symfony/console[v2.7.8, v2.6.13].
    - Can only install one of: symfony/console[v2.7.9, v2.6.13].
    - Can only install one of: symfony/console[v2.8.0, v2.6.13].
    - Can only install one of: symfony/console[v2.8.0-BETA1, v2.6.13].
    - Can only install one of: symfony/console[v2.8.1, v2.6.13].
    - Can only install one of: symfony/console[v2.8.10, v2.6.13].
    - Can only install one of: symfony/console[v2.8.11, v2.6.13].
    - Can only install one of: symfony/console[v2.8.12, v2.6.13].
    - Can only install one of: symfony/console[v2.8.13, v2.6.13].
    - Can only install one of: symfony/console[v2.8.14, v2.6.13].
    - Can only install one of: symfony/console[v2.8.15, v2.6.13].
    - Can only install one of: symfony/console[v2.8.16, v2.6.13].
    - Can only install one of: symfony/console[v2.8.17, v2.6.13].
    - Can only install one of: symfony/console[v2.8.2, v2.6.13].
    - Can only install one of: symfony/console[v2.8.3, v2.6.13].
    - Can only install one of: symfony/console[v2.8.4, v2.6.13].
    - Can only install one of: symfony/console[v2.8.5, v2.6.13].
    - Can only install one of: symfony/console[v2.8.6, v2.6.13].
    - Can only install one of: symfony/console[v2.8.7, v2.6.13].
    - Can only install one of: symfony/console[v2.8.8, v2.6.13].
    - Can only install one of: symfony/console[v2.8.9, v2.6.13].
    - Can only install one of: symfony/console[v3.0.0, v2.6.13].
    - Can only install one of: symfony/console[v3.0.0-BETA1, v2.6.13].
    - Can only install one of: symfony/console[v3.0.1, v2.6.13].
    - Can only install one of: symfony/console[v3.0.2, v2.6.13].
    - Can only install one of: symfony/console[v3.0.3, v2.6.13].
    - Can only install one of: symfony/console[v3.0.4, v2.6.13].
    - Can only install one of: symfony/console[v3.0.5, v2.6.13].
    - Can only install one of: symfony/console[v3.0.6, v2.6.13].
    - Can only install one of: symfony/console[v3.0.7, v2.6.13].
    - Can only install one of: symfony/console[v3.0.8, v2.6.13].
    - Can only install one of: symfony/console[v3.0.9, v2.6.13].
    - Can only install one of: symfony/console[v3.1.0, v2.6.13].
    - Can only install one of: symfony/console[v3.1.0-BETA1, v2.6.13].
    - Can only install one of: symfony/console[v3.1.0-RC1, v2.6.13].
    - Can only install one of: symfony/console[v3.1.1, v2.6.13].
    - Can only install one of: symfony/console[v3.1.10, v2.6.13].
    - Can only install one of: symfony/console[v3.1.2, v2.6.13].
    - Can only install one of: symfony/console[v3.1.3, v2.6.13].
    - Can only install one of: symfony/console[v3.1.4, v2.6.13].
    - Can only install one of: symfony/console[v3.1.5, v2.6.13].
    - Can only install one of: symfony/console[v3.1.6, v2.6.13].
    - Can only install one of: symfony/console[v3.1.7, v2.6.13].
    - Can only install one of: symfony/console[v3.1.8, v2.6.13].
    - Can only install one of: symfony/console[v3.1.9, v2.6.13].
    - Can only install one of: symfony/console[v3.2.0, v2.6.13].
    - Can only install one of: symfony/console[v3.2.0-BETA1, v2.6.13].
    - Can only install one of: symfony/console[v3.2.0-RC1, v2.6.13].
    - Can only install one of: symfony/console[v3.2.0-RC2, v2.6.13].
    - Can only install one of: symfony/console[v3.2.1, v2.6.13].
    - Can only install one of: symfony/console[v3.2.2, v2.6.13].
    - Can only install one of: symfony/console[v3.2.3, v2.6.13].
    - Can only install one of: symfony/console[v3.2.4, v2.6.13].
    - Installation request for symfony/console (locked at v2.6.13) -> satisfiable by symfony/console[v2.6.13].


Installation failed, reverting ./composer.json to its original content.

Workaround

  1. Run composer require sensiolabs/security-checker:^3.0

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