webfactory / WebfactoryPolyglotBundle

Symfony bundle simplifying translations in Doctrine.
MIT License
3 stars 2 forks source link

Fix a warning when serializing metadata; set up GHA for CI #9

Closed mpdude closed 3 years ago

mpdude commented 3 years ago

This addresses warnings like

Failed to save key "{key}" of type Webfactory\Bundle\PolyglotBundle\Doctrine\TranslatableClassMetadata: Cache key "..." has non-serializable Webfactory\Bundle\PolyglotBundle\Doctrine\TranslatableClassMetadata value.

... that occur when the Cache Driver used (in Doctrine) is the file-based implementation from symfony/cache.