From aa15f9d16d5b46d04763c7deedb129990e819364 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 30 Jun 2025 16:56:59 +0200 Subject: chore: run rector Signed-off-by: Robin Appelman --- tests/lib/AppFramework/Utility/SimpleContainerTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/lib/AppFramework/Utility/SimpleContainerTest.php') diff --git a/tests/lib/AppFramework/Utility/SimpleContainerTest.php b/tests/lib/AppFramework/Utility/SimpleContainerTest.php index 93db01d3bc8..33800c7376f 100644 --- a/tests/lib/AppFramework/Utility/SimpleContainerTest.php +++ b/tests/lib/AppFramework/Utility/SimpleContainerTest.php @@ -201,9 +201,7 @@ class SimpleContainerTest extends \Test\TestCase { ]; } - /** - * @dataProvider sanitizeNameProvider - */ + #[\PHPUnit\Framework\Attributes\DataProvider('sanitizeNameProvider')] public function testSanitizeName($register, $query): void { $this->container->registerService($register, function () { return 'abc'; -- cgit v1.2.3