diff --git a/test/Symmetric/LegacyOpensslCipherTest.php b/test/Symmetric/LegacyOpensslCipherTest.php index edc834a..d6e24f5 100644 --- a/test/Symmetric/LegacyOpensslCipherTest.php +++ b/test/Symmetric/LegacyOpensslCipherTest.php @@ -66,8 +66,8 @@ protected function tearDown(): void * * @return void * - * @dataProvider methodsLegacyProvider */ + #[\PHPUnit\Framework\Attributes\DataProvider('methodsLegacyProvider')] public function testLegacy(string $method, string $str): void { $key = new Key('foo'); diff --git a/test/Symmetric/OpensslCipherTest.php b/test/Symmetric/OpensslCipherTest.php index 45c33ea..c6ac3c6 100644 --- a/test/Symmetric/OpensslCipherTest.php +++ b/test/Symmetric/OpensslCipherTest.php @@ -68,8 +68,8 @@ protected function tearDown(): void * * @return void * - * @dataProvider methodsProvider */ + #[\PHPUnit\Framework\Attributes\DataProvider('methodsProvider')] public function testEncrypt(string $method): void { $methods = openssl_get_cipher_methods(true);