spatie / laravel-event-sourcing

The easiest way to get started with event sourcing in Laravel
https://docs.spatie.be/laravel-event-sourcing
MIT License
768 stars 164 forks source link

L11 compatibility #458

Closed inmanturbo closed 7 months ago

inmanturbo commented 7 months ago

symfony/serializer made the Symfony\Component\Serializer\Normalizer\ObjectNormalizer class final and now requires to implement some of the core methods.

We still only needed to change getSupportedTypes() so rather than copy in whole function bodies I just grabbed an instance of their ObjectNormalizer and used it for the rest.

inmanturbo commented 7 months ago

@freekmurze if you prefer another pattern for implementing the stubs, or want to name things differently, please feel free to edit or request changes.

inmanturbo commented 7 months ago

Note on the forced pushe(s):

I had squashed everything down but I though you might want to see the commits that came from running the shift, so I brought back the full history

freekmurze commented 7 months ago

Thank you very much!