Use the PHPParserManager instead of instantiating the parser