Skip to content

Commit 0da9913

Browse files
committed
test: remove ReflectionProperty::setAccessible() deprecated since PHP 8.5
setAccessible() has been a no-op since PHP 8.1 and is deprecated since PHP 8.5. Signed-off-by: Anna Larch <anna@nextcloud.com> AI-Assisted-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 50ddee1 commit 0da9913

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

tests/lib/Files/Mount/RootMountProviderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public function testObjectStore(): void {
8585

8686
$class = new \ReflectionClass($storage);
8787
$prop = $class->getProperty('objectStore');
88-
$prop->setAccessible(true);
8988
/** @var S3 $objectStore */
9089
$objectStore = $prop->getValue($storage);
9190
$this->assertEquals('nextcloud', $objectStore->getBucket());

0 commit comments

Comments
 (0)