Skip to content

Conversation

@bdurkovic
Copy link

The version of nikic/php-parser update to 5.1.
The instantiation of the Parser changed accordingly.

@bdurkovic
Copy link
Author

Hi!

I have updated the nikic/php-parser to 5.1 and changed the instantiation of that Parser accordingly. I had to introduce two new configuration properties; php-major-version and php-minor-version and use them to instantiate PhpVersion object that is passed to the ParserFactory.

This PR probably doesn't fulfill the CI/CD requirements, but you are completely welcome to use the proposed solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant