protected function createContext() { $file = new SplFileInfo('code.php'); $errors = new ParseErrorsCollection(); return new ParserContext($file, $errors); }