--- ../tests/DeepCopyTest/Matcher?PropertyMatcherTest.php	2026-08-09 10:44:22.162326783 +0300
+++ ../tests/DeepCopyTest/Matcher/PropertyMatcherTest.php	2026-08-09 10:45:44.635822550 +0300
@@ -4,15 +4,14 @@
 
 use DeepCopy\Matcher\PropertyMatcher;
 use PHPUnit\Framework\TestCase;
+use PHPUnit\Framework\Attributes\DataProvider;
 
 /**
  * @covers \DeepCopy\Matcher\PropertyMatcher
  */
 class PropertyMatcherTest extends TestCase
 {
-    /**
-     * @dataProvider providePairs
-     */
+    #[DataProvider('providePairs')]
     public function test_it_matches_the_given_objects($object, $prop, $expected)
     {
         $matcher = new PropertyMatcher(X::class, 'foo');
@@ -22,7 +21,7 @@
         $this->assertEquals($expected, $actual);
     }
 
-    public function providePairs()
+    public static function providePairs()
     {
         return [
             'matching case' => [new X(), 'foo', true],
