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/LegacyHelperTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/lib/LegacyHelperTest.php') diff --git a/tests/lib/LegacyHelperTest.php b/tests/lib/LegacyHelperTest.php index 858069410ff..c18f929e40c 100644 --- a/tests/lib/LegacyHelperTest.php +++ b/tests/lib/LegacyHelperTest.php @@ -116,9 +116,7 @@ class LegacyHelperTest extends \Test\TestCase { $this->assertEquals('dir/filename(1) (2) (4).ext', OC_Helper::buildNotExistingFileNameForView('dir', 'filename(1) (2) (3).ext', $viewMock)); } - /** - * @dataProvider streamCopyDataProvider - */ + #[\PHPUnit\Framework\Attributes\DataProvider('streamCopyDataProvider')] public function testStreamCopy($expectedCount, $expectedResult, $source, $target): void { if (is_string($source)) { $source = fopen($source, 'r'); -- cgit v1.2.3