Is there any chance you might want to support the generation of php 8.1 enums? I tried to do it myself but quickly got lost in your code :p