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

Symfony 6.1 Support #42

Closed
mehmetsen80 opened this issue Oct 12, 2022 · 1 comment
Closed

Symfony 6.1 Support #42

mehmetsen80 opened this issue Oct 12, 2022 · 1 comment
Assignees

Comments

@mehmetsen80
Copy link

Describe the feature you would like to see

I see you don't support Symfony 6.1 version. I get this when I run

composer require kreait/firebase-bundle

 Problem 1
    - google/cloud-core[v1.42.0, ..., v1.42.2] require guzzlehttp/psr7 ^1.2 -> found guzzlehttp/psr7[1.2.0, ..., 1.9.0] but the package is fixed to 2.4.1 (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.
    - google/cloud-core[v1.43.0, ..., v1.47.2] require monolog/monolog ^1.1|^2.0 -> found monolog/monolog[1.1.0, ..., 1.27.1, 2.0.0, ..., 2.8.0] but the package is fixed to 3.2.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.
    - kreait/firebase-bundle 4.1.0 requires kreait/firebase-php ^6.0 -> satisfiable by kreait/firebase-php[6.0.0, ..., 6.9.1].
    - kreait/firebase-php[6.3.0, ..., 6.9.1] require google/cloud-core ^1.44.2 -> satisfiable by google/cloud-core[v1.44.2, ..., v1.47.2].
    - kreait/firebase-php[6.0.0, ..., 6.2.0] require google/cloud-core ^1.42.2 -> satisfiable by google/cloud-core[v1.42.2, ..., v1.47.2].
    - Root composer.json requires kreait/firebase-bundle ^4.1 -> satisfiable by kreait/firebase-bundle[4.1.0].

@jeromegamez
Copy link
Member

The bundle explicitly support Symfony 6.x (you can check in its composer.json).

The snippet you posted is quite specific on the issue though 😅: google/cloud-core requires psr/log ^1.0|^2.0 but it is fixed to 3.2 in your project's composer.json.

Luckily I know why this happens (otherwise your minimal bug description wouldn't have helped me reproduce the issue).

The latest Monolog version requires at least psr/log 3.0, the Google Cloud library supports only versions 1 and 2.

googleapis/google-cloud-php#5334 aims add adding support for psr/log 3.x, but that's outside of the scope of the bundle or the underlying SDK.

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