lexik / LexikTranslationBundle

This Symfony bundle allow to import translation files content into the database and provide a GUI to edit translations.
MIT License
419 stars 255 forks source link

Fixes that rector did for php 8.1 #425

Closed bartmcleod closed 1 year ago

bartmcleod commented 1 year ago

This will drop support for php 7.4 and 8 and will require Symfony > 6 for master. Support for older versions can still be provided by creating PR's for older branches or by creating new branches of those.

bartmcleod commented 1 year ago

Merging this because the new build process passes, it works locally in a browser on SF 6 and the commands seem to work as well. If you encounter any problems, let me know.

gilles-g commented 1 year ago

Is it done by rector? Nice job!

bartmcleod commented 1 year ago

@spike31 Yes, the "rector/rector" package can adapt it to the features of a specific php version and do much more automatic refactoring, but I only applied the php 8.1 set and fixed some formatting manually, because I did not want to spend time on figuring out how to configure that for rector.