Locastic / ApiPlatformTranslationBundle

Translation bundle for ApiPlatform based on Sylius translation
MIT License
85 stars 28 forks source link

Update for PHP 8.0 feature set #49

Closed rkeet closed 1 year ago

rkeet commented 2 years ago

High guys,

Hop you don't mind this PR. Went to use this bundle and noticed that $locale was allowed to be null, which I found weird for a translation, so thought I'd create a PR for it. Then... Sort of ran with it for a few hours :)

Hope you like it, feel free to edit it.

Happy 2022.

Changes:

paullla commented 2 years ago

Hi @rkeet thank you for the PRs and sorry for the waiting! Can you please rebase to the master? It will fix the CI problem.

rkeet commented 2 years ago

Hi, I decided to go a different route with my project, so no longer have this package setup in it.

Hopefully you can grab the PR and run with it, I won't be using it in the foreseeable future, and because of that don't really have the time to work on this.

Feel free to do whatever with this though :) free update ;-)

paullla commented 1 year ago

closing since https://github.com/Locastic/ApiPlatformTranslationBundle/pull/59 has the same changes. Thanks @rkeet