aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/RichObjectStrings/ValidatorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/RichObjectStrings/ValidatorTest.php')
-rw-r--r--tests/lib/RichObjectStrings/ValidatorTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/RichObjectStrings/ValidatorTest.php b/tests/lib/RichObjectStrings/ValidatorTest.php
index c5f88394a33..26688d3401a 100644
--- a/tests/lib/RichObjectStrings/ValidatorTest.php
+++ b/tests/lib/RichObjectStrings/ValidatorTest.php
@@ -80,9 +80,7 @@ class ValidatorTest extends TestCase {
];
}
- /**
- * @dataProvider dataValidateParameterKeys
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('dataValidateParameterKeys')]
public function testValidateParameterKeys(mixed $key, ?string $throws): void {
if ($throws !== null) {