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,13 +12,12 @@ namespace App\Tests\Twig;
use App\Twig\PaginationExtension;
use App\Utils\Pagination;
use Pagerfanta\Adapter\ArrayAdapter;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Twig\TwigFunction;
/**
* @covers \App\Twig\PaginationExtension
*/
#[CoversClass(PaginationExtension::class)]
class PaginationExtensionTest extends TestCase
{
private function getUrlGenerator(): UrlGeneratorInterface