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

Add support for monolog/monolog 3.x.x #460

Open
bastien70 opened this issue Sep 5, 2022 · 1 comment
Open

Add support for monolog/monolog 3.x.x #460

bastien70 opened this issue Sep 5, 2022 · 1 comment

Comments

@bastien70
Copy link

With Symfony 6.1, we have the following error when installing the library :

andres-montanez/magallanes 5.0.0 requires monolog/monolog ^2.5 -> found monolog/monolog[2.5.0, 2.6.0, 2.7.0, 2.8.0] but the package is fixed to 3.1.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.

@fritzmg
Copy link
Contributor

fritzmg commented Feb 5, 2024

As this is an independent tool you should not add this to the require-dev section of your application. Instead you should use a separate directory for this dependency within your code base - e.g. tools/magallanes/composer.json where you only require this package. This way there cannot be unnecessary conflicts. If you have multiple tools like this you can then use bamarni/composer-bin-plugin to ease the handling of all tools.

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

2 participants