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 7.1 Compatibilty #459

Open
JanCern opened this issue Jul 29, 2024 · 1 comment
Open

Symfony 7.1 Compatibilty #459

JanCern opened this issue Jul 29, 2024 · 1 comment

Comments

@JanCern
Copy link

JanCern commented Jul 29, 2024

Hello,
the 7.1 version of this package has a conflict with doctrine/orm version 3.0. Is it possible to change this limit?

@johanvio
Copy link

johanvio commented Oct 8, 2024

@JanCern, I'm not completely sure what your issue is, but I may have the same problem with version 6.0 of lexik/LexikTranslationBundle and Symfony 6.4.

Here's what I get when I go to the route I configured for the bundle:

Compile Error: Declaration of Lexik\Bundle\TranslationBundle\Entity\TransUnitRepository::count(?array $locales = null, ?array $filters = null) must be compatible with Doctrine\ORM\EntityRepository::count(array $criteria = []): int

Maybe this change is causing the issue: https://github.com/doctrine/orm/blob/3.0.x/UPGRADE.md#bc-break-entityrepositorycount-signature-change

But I'm not sure, since the signature of TransUnitRepository::count() seems to differ a lot from EntityRepository::count(). Maybe the php version is relevant as well; I'm using php 8.3.

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