Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with PHP8.0+ #68

Open
luchianenco opened this issue Sep 2, 2022 · 0 comments
Open

Issue with PHP8.0+ #68

luchianenco opened this issue Sep 2, 2022 · 0 comments

Comments

@luchianenco
Copy link

I have faced the following issue when I have tried to install slack driver.

my composer.json

"require": {
        "php": ">=8.0",
        "ext-ctype": "*",
        "ext-iconv": "*",
        "botman/botman": "^2.7",
        "doctrine/doctrine-bundle": "^2.7",
        "doctrine/doctrine-migrations-bundle": "^3.2",
        "doctrine/orm": "^2.13",
        "symfony/console": "6.1.*",
        "symfony/dotenv": "6.1.*",
        "symfony/flex": "^2",
        "symfony/framework-bundle": "6.1.*",
        "symfony/runtime": "6.1.*",
        "symfony/yaml": "6.1.*"
    },

Here is the output

composer require botman/driver-slack
Using version ^2.2 for botman/driver-slack
./composer.json has been updated
Running composer update botman/driver-slack
Loading composer repositories with package information
The "https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json" file could not be downloaded (HTTP/2 404 )
https://raw.githubusercontent.com/symfony/recipes/flex/main/index.json could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - zendframework/zend-stdlib[2.7.5, ..., 2.7.7] require php ^5.5 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement.
    - zendframework/zend-log[2.7.0, ..., 2.8.3] require php ^5.5 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement.
    - zendframework/zend-log 2.6.0 requires psr/log ~1.0 -> found psr/log[1.0.0, ..., 1.1.4] but the package is fixed to 3.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - zendframework/zend-log[2.9.0, ..., 2.12.0] require php ^5.6 || ^7.0 -> your php version (8.1.9) does not satisfy that requirement.
    - mpociot/phpws[2.0, ..., 2.0.1] require react/socket ^0.8.6 -> found react/socket[v0.8.6, ..., v0.8.12] but the package is fixed to v1.12.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - mpociot/slack-client 1.0 requires react/event-loop ^0.4.1 -> found react/event-loop[v0.4.1, v0.4.2, v0.4.3] but the package is fixed to v1.3.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires botman/driver-slack ^2.2 -> satisfiable by botman/driver-slack[2.2.0, v2.2.1].
    - botman/driver-slack[2.2.0, ..., v2.2.1] require mpociot/slack-client ~1.0 -> satisfiable by mpociot/slack-client[1.0, 1.1, 1.2.0].
    - mpociot/slack-client[1.1, ..., 1.2.0] require mpociot/phpws ^2.0 -> satisfiable by mpociot/phpws[2.0, 2.0.1, 2.1.0].
    - mpociot/phpws 2.1.0 requires zendframework/zend-log 2.* -> satisfiable by zendframework/zend-log[2.0.3, ..., 2.12.0].
    - zendframework/zend-log[2.5.1, ..., 2.5.2] require zendframework/zend-stdlib ~2.5 -> satisfiable by zendframework/zend-stdlib[2.5.0, ..., 2.7.7].
    - zendframework/zend-log 2.5.0 requires zendframework/zend-stdlib ~2.5.0 -> satisfiable by zendframework/zend-stdlib[2.5.0, 2.5.1, 2.5.2].
    - zendframework/zend-log 2.4.13 requires zendframework/zend-stdlib 2.4.13 -> satisfiable by zendframework/zend-stdlib[2.4.13].
    - zendframework/zend-log 2.4.12 requires zendframework/zend-stdlib 2.4.12 -> satisfiable by zendframework/zend-stdlib[2.4.12].
    - zendframework/zend-log 2.4.11 requires zendframework/zend-stdlib 2.4.11 -> satisfiable by zendframework/zend-stdlib[2.4.11].
    - zendframework/zend-log 2.4.10 requires zendframework/zend-stdlib 2.4.10 -> satisfiable by zendframework/zend-stdlib[2.4.10].
    - zendframework/zend-log 2.4.9 requires zendframework/zend-stdlib 2.4.9 -> satisfiable by zendframework/zend-stdlib[2.4.9].
    - zendframework/zend-log 2.4.8 requires zendframework/zend-stdlib 2.4.8 -> satisfiable by zendframework/zend-stdlib[2.4.8].
    - zendframework/zend-log 2.4.7 requires zendframework/zend-stdlib 2.4.7 -> satisfiable by zendframework/zend-stdlib[2.4.7].
    - zendframework/zend-log 2.4.6 requires zendframework/zend-stdlib 2.4.6 -> satisfiable by zendframework/zend-stdlib[2.4.6].
    - zendframework/zend-log 2.4.5 requires zendframework/zend-stdlib 2.4.5 -> satisfiable by zendframework/zend-stdlib[2.4.5].
    - zendframework/zend-log 2.4.4 requires zendframework/zend-stdlib 2.4.4 -> satisfiable by zendframework/zend-stdlib[2.4.4].
    - zendframework/zend-log 2.4.3 requires zendframework/zend-stdlib 2.4.3 -> satisfiable by zendframework/zend-stdlib[2.4.3].
    - zendframework/zend-log 2.4.2 requires zendframework/zend-stdlib 2.4.2 -> satisfiable by zendframework/zend-stdlib[2.4.2].
    - zendframework/zend-log 2.4.1 requires zendframework/zend-stdlib 2.4.1 -> satisfiable by zendframework/zend-stdlib[2.4.1].
    - zendframework/zend-log 2.4.0 requires zendframework/zend-stdlib 2.4.0 -> satisfiable by zendframework/zend-stdlib[2.4.0].
    - zendframework/zend-log 2.3.9 requires zendframework/zend-stdlib 2.3.9 -> satisfiable by zendframework/zend-stdlib[2.3.9].
    - zendframework/zend-log 2.3.8 requires zendframework/zend-stdlib 2.3.8 -> satisfiable by zendframework/zend-stdlib[2.3.8].
    - zendframework/zend-log 2.3.7 requires zendframework/zend-stdlib 2.3.7 -> satisfiable by zendframework/zend-stdlib[2.3.7].
    - zendframework/zend-log 2.3.6 requires zendframework/zend-stdlib 2.3.6 -> satisfiable by zendframework/zend-stdlib[2.3.6].
    - zendframework/zend-log 2.3.5 requires zendframework/zend-stdlib 2.3.5 -> satisfiable by zendframework/zend-stdlib[2.3.5].
    - zendframework/zend-log 2.3.4 requires zendframework/zend-stdlib 2.3.4 -> satisfiable by zendframework/zend-stdlib[2.3.4].
    - zendframework/zend-log 2.3.3 requires zendframework/zend-stdlib 2.3.3 -> satisfiable by zendframework/zend-stdlib[2.3.3].
    - zendframework/zend-log 2.3.2 requires zendframework/zend-stdlib 2.3.2 -> satisfiable by zendframework/zend-stdlib[2.3.2].
    - zendframework/zend-log 2.3.1 requires zendframework/zend-stdlib 2.3.1 -> satisfiable by zendframework/zend-stdlib[2.3.1].
    - zendframework/zend-log 2.3.0 requires zendframework/zend-stdlib 2.3.0 -> satisfiable by zendframework/zend-stdlib[2.3.0].
    - zendframework/zend-log 2.2.10 requires zendframework/zend-stdlib 2.2.10 -> satisfiable by zendframework/zend-stdlib[2.2.10].
    - zendframework/zend-log 2.2.9 requires zendframework/zend-stdlib 2.2.9 -> satisfiable by zendframework/zend-stdlib[2.2.9].
    - zendframework/zend-log 2.2.8 requires zendframework/zend-stdlib 2.2.8 -> satisfiable by zendframework/zend-stdlib[2.2.8].
    - zendframework/zend-log 2.2.7 requires zendframework/zend-stdlib 2.2.7 -> satisfiable by zendframework/zend-stdlib[2.2.7].
    - zendframework/zend-log 2.2.6 requires zendframework/zend-stdlib 2.2.6 -> satisfiable by zendframework/zend-stdlib[2.2.6].
    - zendframework/zend-log 2.2.5 requires zendframework/zend-stdlib 2.2.5 -> satisfiable by zendframework/zend-stdlib[2.2.5].
    - zendframework/zend-log 2.2.4 requires zendframework/zend-stdlib 2.2.4 -> satisfiable by zendframework/zend-stdlib[2.2.4].
    - zendframework/zend-log 2.2.3 requires zendframework/zend-stdlib 2.2.3 -> satisfiable by zendframework/zend-stdlib[2.2.3].
    - zendframework/zend-log 2.2.2 requires zendframework/zend-stdlib 2.2.2 -> satisfiable by zendframework/zend-stdlib[2.2.2].
    - zendframework/zend-log 2.2.1 requires zendframework/zend-stdlib 2.2.1 -> satisfiable by zendframework/zend-stdlib[2.2.1].
    - zendframework/zend-log 2.2.0 requires zendframework/zend-stdlib 2.2.0 -> satisfiable by zendframework/zend-stdlib[2.2.0].
    - zendframework/zend-log 2.1.6 requires zendframework/zend-stdlib 2.1.6 -> satisfiable by zendframework/zend-stdlib[2.1.6].
    - zendframework/zend-log 2.1.5 requires zendframework/zend-stdlib 2.1.5 -> satisfiable by zendframework/zend-stdlib[2.1.5].
    - zendframework/zend-log 2.1.4 requires zendframework/zend-stdlib 2.1.4 -> satisfiable by zendframework/zend-stdlib[2.1.4].
    - zendframework/zend-log 2.1.3 requires zendframework/zend-stdlib 2.1.3 -> satisfiable by zendframework/zend-stdlib[2.1.3].
    - zendframework/zend-log 2.1.2 requires zendframework/zend-stdlib 2.1.2 -> satisfiable by zendframework/zend-stdlib[2.1.2].
    - zendframework/zend-log 2.1.1 requires zendframework/zend-stdlib 2.1.1 -> satisfiable by zendframework/zend-stdlib[2.1.1].
    - zendframework/zend-log 2.1.0 requires zendframework/zend-stdlib 2.1.0 -> satisfiable by zendframework/zend-stdlib[2.1.0].
    - zendframework/zend-log 2.0.8 requires zendframework/zend-stdlib 2.0.8 -> satisfiable by zendframework/zend-stdlib[2.0.8].
    - zendframework/zend-log 2.0.7 requires zendframework/zend-stdlib 2.0.7 -> satisfiable by zendframework/zend-stdlib[2.0.7].
    - zendframework/zend-log 2.0.6 requires zendframework/zend-stdlib 2.0.6 -> satisfiable by zendframework/zend-stdlib[2.0.6].
    - zendframework/zend-log 2.0.5 requires zendframework/zend-stdlib 2.0.5 -> satisfiable by zendframework/zend-stdlib[2.0.5].
    - zendframework/zend-log 2.0.4 requires zendframework/zend-stdlib 2.0.4 -> satisfiable by zendframework/zend-stdlib[2.0.4].
    - zendframework/zend-log 2.0.3 requires zendframework/zend-stdlib 2.0.3 -> satisfiable by zendframework/zend-stdlib[2.0.3].
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.7.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.6.0.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.5.2.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.5.1.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.13.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.12.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.11.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.10.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.9.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.8.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.7.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.6.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.5.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.3.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.2.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.1.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.4.0.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.9.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.8.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.7.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.6.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.5.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.3.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.2.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.1.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.3.0.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.10.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.9.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.8.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.7.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.6.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.5.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.3.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.2.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.1.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.2.0.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.6.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.5.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.3.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.2.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.1.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.1.0.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.8.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.7.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.6.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.5.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.4.
    - friendsofphp/proxy-manager-lts v1.0.12 conflicts with zendframework/zend-stdlib 2.0.3.
    - doctrine/migrations 3.5.2 requires friendsofphp/proxy-manager-lts ^1.0 -> satisfiable by friendsofphp/proxy-manager-lts[v1.0.12].
    - doctrine/doctrine-migrations-bundle 3.2.2 requires doctrine/migrations ^3.2 -> satisfiable by doctrine/migrations[3.5.2].
    - doctrine/doctrine-migrations-bundle is locked to version 3.2.2 and an update of this package was not requested.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require botman/driver-slack:*" to figure out if any version is installable, or "composer require botman/driver-slack:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant