elastic / ecs-logging-php

Apache License 2.0
19 stars 35 forks source link

psr/log dependency update #37

Open bandicsongor opened 2 years ago

bandicsongor commented 2 years ago

Hi,

The composer require elastic/ecs-logging command generates this:

Using version ^1.0 for elastic/ecs-logging
./composer.json has been updated
Running composer update elastic/ecs-logging
Loading composer repositories with package information
Updating dependencies                                 
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - elastic/ecs-logging[1.0.0, ..., 1.0.2] require php ^7.2 -> your php version (8.0.9) does not satisfy that requirement.
    - elastic/ecs-logging 1.0.3 requires psr/log ^1.0.1 -> found psr/log[1.0.1, ..., 1.1.4] but the package is fixed to 2.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.
    - Root composer.json requires elastic/ecs-logging ^1.0 -> satisfiable by elastic/ecs-logging[1.0.0, 1.0.1, 1.0.2, 1.0.3].

Can you update the psr/log dependency in composer.json to "psr/log": "^1.1 || ^2.0" ?

Regards, Csongor.

paveljanda commented 2 years ago

Hi, any update on that issue? Currently, there is already psr/log v3

SmetDenis commented 1 year ago

Hello. Would you happen to have any updates so far?

It blocks me from using your solution.