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

@@ -19,9 +19,7 @@ class MealPreferenceRequiredCheckTest extends TestCase
$this->check = new MealPreferenceRequiredCheck();
}
/**
* @dataProvider mixedRoleProvider
*/
#[\PHPUnit\Framework\Attributes\DataProvider('mixedRoleProvider')]
public function testDoesNotApplyToExcludedMixedRoleUsersWithTeamerRole(string $excludedRole): void
{
$user = $this->createTeamerUser();
@@ -30,7 +28,7 @@ class MealPreferenceRequiredCheckTest extends TestCase
$this->assertFalse($this->check->appliesTo($user));
}
public function mixedRoleProvider(): array
public static function mixedRoleProvider(): array
{
return [
['ROLE_TEAM_ADMIN'],