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,16 +12,16 @@ namespace App\Tests\Event;
use App\Entity\Customer;
use App\Entity\Invoice;
use App\Entity\InvoiceTemplate;
use App\Event\AbstractInvoiceEvent;
use App\Event\InvoiceCreatedEvent;
use App\Repository\Query\InvoiceQuery;
use App\Tests\Invoice\DebugFormatter;
use App\Tests\Mocks\InvoiceModelFactoryFactory;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
/**
* @covers \App\Event\InvoiceCreatedEvent
* @covers \App\Event\AbstractInvoiceEvent
*/
#[CoversClass(InvoiceCreatedEvent::class)]
#[CoversClass(AbstractInvoiceEvent::class)]
class InvoiceCreatedEventTest extends TestCase
{
public function testDefaultValues(): void