DamienHarper / auditor

auditor, the missing audit log library
MIT License
164 stars 53 forks source link

Breaking Change in PR#137 #142

Closed Arconian closed 1 year ago

Arconian commented 1 year ago
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.

DamienHarper commented 1 year ago

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