make compatible with the new version of PhpParser