We are still using PHPUnit 4.8. Support for that version already ended in 2017
PHPUnit 8.5 requires at least PHP 7.2. PHPUnit 9 was already released but it requires PHP 7.3. So we can only update after removing PHP 7.2 support.
This PR is including various adjustments for all tests cause of namespace and method changes within PHPUnit:
<a class='mention' href='https://github.com/expectedException'>@expectedException</a> \Exceptionannotation is no longer supported. Instead
$this->expectException(\Exception::class);needs to be used. Similar for
<a class='mention' href='https://github.com/expectedExceptionMessage'>@expectedExceptionMessage</a>, ...
getMockwith multiple parameters or
tearDownAfterClassneeds to be defined with
: voidreturn type hint
submodule plugins are already done. will create PRs for those and all other plugins the coming days