reactphp / socket

Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP.
https://reactphp.org/socket/
MIT License
1.21k stars 157 forks source link

Update PHPUnit configuration schema for PHPUnit 9.3 and replace deprecated at() Mocks #243

Closed SimonFrings closed 4 years ago

SimonFrings commented 4 years ago

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. I also had to update some tests, because the at() matcher deprecated in PHPUnit 9.3 and will be removed in PHPUnit 10.

The code needs some minor changes to run with PHP 8, I will look into this in an upcoming pull request.

For further details concerning this pull request look into graphp/graphviz #46. This pull request builds on top of reactphp/socket #239.