--- ../test/PhpFuzzer/UtilTest.php	2026-07-11 01:59:38.750074627 +0300
+++ ../test/PhpFuzzer/UtilTest.php	2026-07-11 02:00:11.568808761 +0300
@@ -3,16 +3,15 @@
 namespace PhpFuzzer;
 
 use PHPUnit\Framework\TestCase;
+use PHPUnit\Framework\Attributes\DataProvider;
 
 class UtilTest extends TestCase {
-    /**
-     * @dataProvider provideTestGetCommonPathPrefix
-     */
+    #[DataProvider('provideTestGetCommonPathPrefix')]
     public function testGetCommonPathPrefix(array $paths, string $expectedPrefix) {
         $this->assertSame($expectedPrefix, Util::getCommonPathPrefix($paths));
     }
 
-    public function provideTestGetCommonPathPrefix(): array {
+    public static function provideTestGetCommonPathPrefix(): array {
         return [
             [[], ''],
             [['/foo/bar/baz.php'], '/foo/bar/'],
