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

Breaking Change in PR#137 #142

Closed
Arconian opened this issue Dec 9, 2022 · 1 comment
Closed

Breaking Change in PR#137 #142

Arconian opened this issue Dec 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Arconian
Copy link

Arconian commented Dec 9, 2022

Q A
auditor version 2.4.0
doctrine/orm version 2.7.5
PHP version 7.4
Database MySQL

Summary

#137 broke the compatibility with doctrine/orm <2.9 . Method getMetadataCache() has only been introduced in doctrine/orm 2.9.

Current behaviour

When using any doctrine related code of your application, you get
Attempted to call an undefined method named "getMetadataCache" of class "Doctrine\ORM\Configuration".

How to reproduce

Install auditor 2.4.0 with doctrine/orm 2.7.5
Use auditor

Expected behaviour

No errors are thrown.

@Arconian Arconian added the bug Something isn't working label Dec 9, 2022
@Arconian Arconian changed the title Breaking Change after #137 Breaking Change after PR#137 Dec 9, 2022
@Arconian Arconian changed the title Breaking Change after PR#137 Breaking Change in PR#137 Dec 9, 2022
@DamienHarper
Copy link
Owner

@Arconian thanks for the report, this is fixed in 2.4.1 release (thanks to @dmitryuk)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants