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

Simplify the PHPUnit configuration #446

Merged
merged 3 commits into from
Dec 10, 2019
Merged

Simplify the PHPUnit configuration #446

merged 3 commits into from
Dec 10, 2019

Conversation

stevegrunwell
Copy link

This PR simplifies the PHPUnit configuration in the following ways:

  • Configure PHP INI settings in phpunit.xml.dist, not the Tests/bootstrap.php file.
  • Remove a lot of older, unneeded attributes from the <phpunit> element

Additionally, I've whitelisted files for generating code coverage reports.

Instead of explicitly calling `ini_set()` in the PHPUnit bootstrap file, add then to `<ini />` nodes within the PHPUnit configuration.

Documentation: https://phpunit.readthedocs.io/en/8.4/configuration.html#the-php-element
@joannasese joannasese requested a review from bhelx December 6, 2019 19:19
@drewish
Copy link

drewish commented Dec 10, 2019

Thanks for the cleanups

@drewish drewish merged commit 973c6ce into recurly:master Dec 10, 2019
@stevegrunwell stevegrunwell deleted the config/phpunit branch December 10, 2019 21:00
@joannasese joannasese mentioned this pull request Dec 31, 2019
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants