Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support nikic/php-parser:^4 #347

Merged
merged 7 commits into from
Jul 9, 2018

Conversation

UFOMelkor
Copy link
Member

@UFOMelkor UFOMelkor commented May 7, 2018

Resolves #345

Upgrade-Guide for php-parser can be found here.

@UFOMelkor
Copy link
Member Author

UFOMelkor commented May 9, 2018

@tarlepp Can you test this?

Metrics should be nearly the same now. Differences are coming from the pretty printer which is used to determine the length of a file.

@UFOMelkor UFOMelkor changed the title [WIP] Support nikic/php-parser:^4 Support nikic/php-parser:^4 May 9, 2018
@zdenekdrahos
Copy link

I confirm the same results with nikic/php-parser v3 and v4.
I've compared html reports and it looked fine.

screenshot from 2018-07-05 13 03 55

@tarlepp
Copy link

tarlepp commented Jul 5, 2018

@UFOMelkor oh sorry haven't had the time to test this :( but according to @zdenekdrahos test it seems to work as expected

Bug fix for php >= 7.2 has been included in 1.2.3.
Since phpunit/phpunit ships with ~1.2.2 we does not need an upper
boundary.
@UFOMelkor UFOMelkor merged commit 95aa9c1 into phpmetrics:master Jul 9, 2018
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.

3 participants