DamienHarper / auditor-bundle

The missing audit log library
MIT License
399 stars 121 forks source link

symfony 6.4 support #422

Closed dvdknaap closed 2 months ago

dvdknaap commented 3 months ago

Could you please update your composer.json so it will fully support symfony 6.4 ?

When i want to install it, i am getting the following error: Your requirements could not be resolved to an installable set of packages.

Problem 1

Gonzalo1987 commented 3 months ago

I think auditor-bundle has fully support for symfony 6.4. It seems you are having problems when using doctrine/orm 3.0

You can see it in the line where is indicated the conflict to use the last version of auditor bundle (5.2.5):

Symfony 6.4 can works with doctrine/orm 3.0 but it doesn't requires it

mvhirsch commented 3 months ago

Which version of auditor-bundle do you use? Please post your composer.json requirements here, so others better understand the problem and be able to help you.

Could you please update your composer.json so it will fully support symfony 6.4 ?

Latest 5.2.5 does support Symfony 6.4.

https://github.com/DamienHarper/auditor-bundle/blob/a03c399b3703fa5be1e69f166aa71f2adffdc43a/composer.json#L20-L26

But looking at the first problem:

  • damienharper/auditor-bundle[1.0.0, ..., 1.2.1] require doctrine/orm ^2.5 -> found doctrine/orm[v2.5.0, ..., 2.19.6] but it conflicts with your root composer.json require (^3.0).

it looks like your composer.json requires doctrine/orm v3, which is currently not supported by auditor-bundle:

https://github.com/DamienHarper/auditor-bundle/blob/a03c399b3703fa5be1e69f166aa71f2adffdc43a/composer.json#L19

Of course, this is the very same information @Gonzalo1987 already gave you. But you have some options left:

You could downgrade doctrine/orm to ^2.7, but I guess that's not an option?

However, this bundle needs support for doctrine/orm v3. Are you open for a working on it and create a merge request? See related issue https://github.com/DamienHarper/auditor/issues/194

DamienHarper commented 2 months ago

auditor 3.0.0 is released auditor-bundle 6.0.0 is released