Fix issue with constant definition for enum and pphp conatnt syntax