chore: upgrade phpunit to 12.5

This commit is contained in:
fromme committed 2026-10-01 10:07:05 +02:00
1 parent da039d0527
commit 849da8d471
53 files changed
+832 -856

No files matched your search

@@ -30,9 +30,7 @@ class PersonalDataVerificationRequiredCheckTest extends TestCase
$this->assertTrue($this->createCheck()->appliesTo($user));
}
/**
* @dataProvider mixedRoleProvider
*/
#[\PHPUnit\Framework\Attributes\DataProvider('mixedRoleProvider')]
public function testDoesNotApplyToExcludedMixedRoleUsersWithTeamerRole(string $excludedRole): void
{
$user = (new User())->setRoles([$excludedRole, 'ROLE_TEAMER']);
@@ -40,7 +38,7 @@ class PersonalDataVerificationRequiredCheckTest extends TestCase
$this->assertFalse($this->createCheck()->appliesTo($user));
}
public function mixedRoleProvider(): array
public static function mixedRoleProvider(): array
{
return [
['ROLE_TEAM_ADMIN'],