At the PHPUnit 10 they have changed InvocationOrder->getInvocationCount() to InvocationOrder->numberOfInvocations(). So to support both versions I added checking of the getInvocationCount function.
Also there was an issue with $startedTestSuite at the TestCase.
At the PHPUnit 10 they have changed
InvocationOrder->getInvocationCount()
toInvocationOrder->numberOfInvocations()
. So to support both versions I added checking of thegetInvocationCount
function.Also there was an issue with
$startedTestSuite
at theTestCase
.