diff options
author | Robin Appelman <robin@icewind.nl> | 2025-06-30 16:56:59 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2025-07-01 22:45:52 +0200 |
commit | aa15f9d16d5b46d04763c7deedb129990e819364 (patch) | |
tree | 758e0aebcac34a545f9a21806120a9fcb96f4cb6 /tests/lib/InitialStateServiceTest.php | |
parent | 1620a0c0510a42b1da0a66488838f1ce3ba1210d (diff) | |
download | nextcloud-server-rector-phpunit10.tar.gz nextcloud-server-rector-phpunit10.zip |
chore: run rectorrector-phpunit10
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/InitialStateServiceTest.php')
-rw-r--r-- | tests/lib/InitialStateServiceTest.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/lib/InitialStateServiceTest.php b/tests/lib/InitialStateServiceTest.php index 5e0f7c7b55e..9081aa93b84 100644 --- a/tests/lib/InitialStateServiceTest.php +++ b/tests/lib/InitialStateServiceTest.php @@ -49,9 +49,7 @@ class InitialStateServiceTest extends TestCase { ]; } - /** - * @dataProvider staticData - */ + #[\PHPUnit\Framework\Attributes\DataProvider('staticData')] public function testStaticData(mixed $value): void { $this->service->provideInitialState('test', 'key', $value); $data = $this->service->getInitialStates(); @@ -88,9 +86,7 @@ class InitialStateServiceTest extends TestCase { ); } - /** - * @dataProvider staticData - */ + #[\PHPUnit\Framework\Attributes\DataProvider('staticData')] public function testLazyData(mixed $value): void { $this->service->provideLazyInitialState('test', 'key', function () use ($value) { return $value; |