elastic / elastic/ecs-logging-php

psr/log dependency update

Open
#37 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
21
Forks
42
Avg merge
28m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.