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

Run tests on PHPUnit 9 and update PHPUnit configuration schema for PHPUnit 9.3 #44

Merged
merged 3 commits into from
Oct 14, 2020

Conversation

SimonFrings
Copy link
Contributor

PHPUnit 9.3 released a new schema for the phpunit.xml configuration file. I had to migrate the file to the new format in order to avoid the warning. PHPUnit Versions older than 9.3 have to use the phpunit.xml.legacy configuration file, because the new format is unknown for them.
For further details concerning this pull request look into graphp/graphviz#46.

It's also possible to run this code with PHP 8 🎉

$ docker run -it --rm -v `pwd`:/data --workdir=/data php:8.0.0beta2-cli php vendor/bin/phpunit
PHPUnit 9.4.1 by Sebastian Bergmann and contributors.

S........................SS..                                     29 / 29 (100%)

Time: 00:01.303, Memory: 10.00 MB

OK, but incomplete, skipped, or risky tests!
Tests: 29, Assertions: 56, Skipped: 3.

Copy link
Owner

@clue clue left a comment

Choose a reason for hiding this comment

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

@SimonFrings Thanks for the update, changes LGTM! :shipit:

@clue clue added this to the v1.1.0 milestone Oct 14, 2020
@clue clue merged commit dab2f42 into clue:master Oct 14, 2020
@clue clue modified the milestones: v1.1.0, v2.0.0 Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants