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

Refactor InitialConfigBuilder #1378

Merged

Conversation

sanmai
Copy link
Member

@sanmai sanmai commented Oct 27, 2020

This PR:

  • Adds heuristics to detect used PHPUnit configuration format.
  • Add a method to update PHPUnit configuration with appropriate coverage whitelist/include directives.
  • Fixes PHPUnit 9.3 compatibility issue #1283 to the point we're using Infection with the newest PHPUnit configuration.

@sanmai sanmai added this to In progress in PHPUnit 9.3 compatibility via automation Oct 27, 2020
@sanmai sanmai added this to the PHPUnit 9.3-ready milestone Oct 27, 2020
@sanmai sanmai marked this pull request as ready for review October 27, 2020 10:05
@sanmai sanmai force-pushed the pr/2020-10/refactor-InitialConfigBuilderTest branch from 763d842 to 1f5731e Compare October 27, 2020 10:06
@sanmai sanmai force-pushed the pr/2020-10/refactor-InitialConfigBuilderTest branch from 1f5731e to c009304 Compare October 27, 2020 10:09
@sanmai sanmai changed the title Refactor InitialConfigBuilderTest Introduce XmlConfigurationVersionProvider Oct 27, 2020
@sanmai sanmai changed the title Introduce XmlConfigurationVersionProvider Refactor InitialConfigBuilder Oct 27, 2020
Copy link
Member

@maks-rafalko maks-rafalko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@sanmai
Copy link
Member Author

sanmai commented Oct 27, 2020

Great! Release-worthy, what do you think?

@maks-rafalko
Copy link
Member

Sure, will do it tonight

@sanmai sanmai merged commit 3119045 into infection:master Oct 27, 2020
PHPUnit 9.3 compatibility automation moved this from In progress to Done Oct 27, 2020
@sanmai sanmai deleted the pr/2020-10/refactor-InitialConfigBuilderTest branch October 27, 2020 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

PHPUnit 9.3 compatibility issue
2 participants