Skip to content

test: remove ReflectionProperty::setAccessible() deprecated since PHP 8.5#60753

Draft
miaulalala wants to merge 1 commit into
masterfrom
fix/noid/php85-setaccessible-test
Draft

test: remove ReflectionProperty::setAccessible() deprecated since PHP 8.5#60753
miaulalala wants to merge 1 commit into
masterfrom
fix/noid/php85-setaccessible-test

Conversation

@miaulalala
Copy link
Copy Markdown
Contributor

Summary

ReflectionProperty::setAccessible() has been a no-op since PHP 8.1 and is deprecated since PHP 8.5. Remove the call from RootMountProviderTest.

Test plan

  • Run NOCOVERAGE=1 ./autotest.sh sqlite tests/lib/Files/Mount/RootMountProviderTest.php
  • Confirm the deprecation no longer appears in CI output

🤖 Generated with Claude Code

@miaulalala miaulalala self-assigned this May 26, 2026
@miaulalala miaulalala added 2. developing Work in progress tests Related to tests CI labels May 26, 2026
@miaulalala miaulalala added this to the Nextcloud 35 milestone May 26, 2026
@miaulalala
Copy link
Copy Markdown
Contributor Author

/backport to stable34

… 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>
@miaulalala miaulalala force-pushed the fix/noid/php85-setaccessible-test branch from 7c201d7 to 0da9913 Compare May 28, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant