refactor the PhpTagsException class (v 2.5.0, Hook release 4)

Change-Id: Iaba8d86e8a0ada3167d2a646b185fb072f8af40b
Merge "refactor the PhpTagsException class (v 2.5.0, Hook release 4)"