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

  1. Write a merge request
  2. Review
  3. Commit

User interface changes

None

API changes

None

Data model changes

None

Issue fork domain-3578343

Command icon 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

idebr created an issue. See original summary.

mably made their first commit to this issue’s fork.

mably’s picture

Status: Active » Needs review

  • mably committed 5c2f909a on 3.x
    task: #3578343 Method ReflectionProperty::setAccessible() is deprecated...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • mably committed ebb2d959 on 2.0.x
    task: #3578343 Method ReflectionProperty::setAccessible() is deprecated...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.