replace PHPUnit annotations with attributes (#5608)

This commit is contained in:
Kevin Papst
2025-08-11 18:57:42 +02:00
committed by GitHub
parent 04331420ae
commit 24778d3ffb
599 changed files with 1778 additions and 2313 deletions

View File

@@ -12,15 +12,16 @@ namespace App\Tests\Validator\Constraints;
use App\Form\Model\MultiUserTimesheet;
use App\Validator\Constraints\TimesheetMultiUser;
use App\Validator\Constraints\TimesheetMultiUserValidator;
use PHPUnit\Framework\Attributes\CoversClass;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
use Symfony\Component\Validator\Test\ConstraintValidatorTestCase;
/**
* @covers \App\Validator\Constraints\TimesheetMultiUser
* @covers \App\Validator\Constraints\TimesheetMultiUserValidator
* @extends ConstraintValidatorTestCase<TimesheetMultiUserValidator>
*/
#[CoversClass(TimesheetMultiUser::class)]
#[CoversClass(TimesheetMultiUserValidator::class)]
class TimesheetMultiUserValidatorTest extends ConstraintValidatorTestCase
{
protected function createValidator(): TimesheetMultiUserValidator