Page MenuHomePhabricator

Replace getInvocationCount() in GrowthExperiments tests to support PHPUnit 10
Open, Needs TriagePublic

Description

PHPUnit 10 removes the function getInvocationCount() which is used when building mock objects

This requires to remove GrowthExperiments\Tests\InvokedBetween, it extends the PHPUnit internal class PHPUnit\Framework\MockObject\Rule\InvocationOrder
Do not replace with withConsecutive() (T426489)