I've also removed PHP version which are no longer supported by PHPUnit.
This PR needs probably manual testing and some further work, but most likely I won't be able to continue on this. These are the improvements to tests files which are broken anyway.
This is my attempt to fix the CI errors, however it needs work.
I've renamed
\PHPUnit_Framework_TestCase
to\PHPUnit\Framework\TestCase
, as CI is using PHPUnit 5.7.21 and this has been renamed in v5.4.3.Same with
PHPUnit_Framework_Error_Warning
as per this commit and this documentation page.I've also removed PHP version which are no longer supported by PHPUnit.
This PR needs probably manual testing and some further work, but most likely I won't be able to continue on this. These are the improvements to tests files which are broken anyway.