[CLEANUP] Drop redundant type cast.
[CLEANUP] Drop double-boxing of Integer.
[CLEANUP] Drop "final" modifier of private methods.
[FEATURE] Use the updated PhpParser.
[CLEANUP] Use for each.