feat: upgrade phpunit to 12.5

This commit is contained in:
Björn Fromme
2026-08-31 09:31:00 +02:00
parent 010cfe56b2
commit bfad61f1dd
95 changed files with 1436 additions and 1224 deletions
@@ -64,10 +64,10 @@ class PendingRoleApprovalsWidgetProviderTest extends TestCase
*/
private function provider(array $pending): PendingRoleApprovalsWidgetProvider
{
$repository = $this->createMock(UserRepository::class);
$repository = $this->createStub(UserRepository::class);
$repository->method('findWithPendingRoles')->willReturn($pending);
$urlGenerator = $this->createMock(UrlGeneratorInterface::class);
$urlGenerator = $this->createStub(UrlGeneratorInterface::class);
$urlGenerator->method('generate')->willReturnCallback(
static function (string $route, array $parameters = []): string {
$path = '/'.str_replace('_', '/', substr($route, \strlen('app_')));