Hédic Guibert
Hédic Guibert
The line causing the bug is this one : https://github.com/jolicode/JoliTypo/blob/master/src/JoliTypo/Fixer.php#L311 For an uknown reason (from me at least), the behaviour of this function changed in PHP 8.1. I tried running...
So after doing some more research I found out that the function that has changed is not `mb_encoding_order` but `mb_detect_encoding`. In this [bug report](https://bugs.php.net/bug.php?id=81390) we can see the following answer...
I tried fixing it : - fix a test that was not working anymore (now it matches the other similar tests). - remove all the now useless `mb_detect_order`. - found...
I am reopening it since the merging of #237 closed it but didn't fix it at all
We have a FormType taking care of this : https://github.com/jolicode/starfleet/blob/master/src/Form/UserAccount/SubmitType.php We should use it