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

Совместимость с php 8.3 #578

Open
Scarboroid opened this issue Dec 6, 2024 · 0 comments
Open

Совместимость с php 8.3 #578

Scarboroid opened this issue Dec 6, 2024 · 0 comments

Comments

@Scarboroid
Copy link

Scarboroid commented Dec 6, 2024

При установке текущей версии пакета (1.10.2) на версию php 8.3 возникает конфикт совместимостей с пакетом "lcobucci/clock". В composer.json стоит ограничение "~2.0.0 || ^2.1.0", последняя доступная версия под это ограничение 2.3.0. А эта версия в свою очередь ограничена php 8.2.

0.737 Your lock file does not contain a compatible set of packages. Please run composer update.
0.737
0.737   Problem 1
0.737     - lcobucci/clock is locked to version 2.3.0 and an update of this package was not requested.
0.737     - lcobucci/clock 2.3.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.14) does not satisfy that requirement.
0.737   Problem 2
0.737     - lcobucci/jwt is locked to version 4.3.0 and an update of this package was not requested.
0.737     - lcobucci/clock 2.3.0 requires php ~8.1.0 || ~8.2.0 -> your php version (8.3.14) does not satisfy that requirement.
0.737     - lcobucci/jwt 4.3.0 requires lcobucci/clock ^2.0 || ^3.0 -> satisfiable by lcobucci/clock[2.3.0].

Это из composer.json вашего пакета версии 1.10.2
https://github.com/amocrm/amocrm-api-php/blob/1.10.2/composer.json

"require": {
  "php": ">=7.1 || >=8.0",
  "ext-json": "*",
  "amocrm/oauth2-amocrm": "^2.0",
  "guzzlehttp/guzzle": "6.* || 7.*",
  "symfony/dotenv": "3.* || 4.* || 5.* || 6.* || 7.*",
  "fig/http-message-util": "1.*",
  "ramsey/uuid": "^3 || ^4",
  "lcobucci/jwt": "^3.4.6 || ^4.0.4",
  "lcobucci/clock": "~2.0.0 || ^2.1.0", <----
  "nesbot/carbon": "^2.52 || ^3.0.0",
  "ext-fileinfo": "*"
},

Это из composer.json пакета lcobucci/clock версии 2.3.0
https://github.com/lcobucci/clock/blob/2.3.0/composer.json

"require": {
    "php": "~8.1.0 || ~8.2.0", <----
    "stella-maris/clock": "^0.1.7"
},
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