From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 24 Feb 2025 19:11:42 +0100
Subject: Modernize PHPUnit syntax

---
 tests/FunctionsTest.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/FunctionsTest.php b/tests/FunctionsTest.php
index 8ec1eaa..736e430 100644
--- a/tests/FunctionsTest.php
+++ b/tests/FunctionsTest.php
@@ -4,6 +4,7 @@ declare(strict_types = 1);
 namespace Embed\Tests;
 
 use function Embed\isHttp;
+use PHPUnit\Framework\Attributes\DataProvider;
 use PHPUnit\Framework\TestCase;
 
 class FunctionsTest extends TestCase
@@ -24,9 +25,7 @@ class FunctionsTest extends TestCase
         ];
     }
 
-    /**
-     * @dataProvider urlsProvider
-     */
+    #[DataProvider('urlsProvider')]
     public function testIsHttp(string $url, bool $expected)
     {
         $result = isHttp($url);
