Problem/Motivation
Running the Domain Source module on PHP 8.5 triggers a warning:
Deprecated function: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in Drupal\domain_source\HttpKernel\DomainSourceRouteProvider->setRequestPathInfo() (line 60 of modules/contrib/domain/domain_source/src/HttpKernel/DomainSourceRouteProvider.php).
Proposed resolution
Remove calls to the deprecated method setAccessible()
Remaining tasks
- Write a merge request
- Review
- Commit
User interface changes
None
API changes
None
Data model changes
None
Issue fork domain-3578343
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
mably commentedComment #6
mably commented