This PR makes the unit tests compatible with PHPUnit 9. It considers the following information:
PHP current stable is version 8.0, old stable is version 7.4, PHP 7.3 is not under active support, and receives only security patches through December 6 2021, at which point it reaches end-of-life. Earlier versions of PHP are already at end-of-life. See https://www.php.net/supported-versions.php
This PR makes the unit tests compatible with PHPUnit 9. It considers the following information:
The minor changes are as follows:
PHPUnit_Framework_TestCase
with\PHPUnit\Framework\TestCase
$this->setExpectedException()
with$this->expectException(\Exception::class);