Problem/motivation

Deprecated function: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1

Steps to reproduce

After php 8.5 upgrade, we are getting this notices.

Proposed resolution

Code changes

CommentFileSizeAuthor
#2 php_8.5_notices.patch2.43 KBgulshan verma

Issue fork metatag-3581128

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

gulshan verma created an issue. See original summary.

gulshan verma’s picture

StatusFileSize
new2.43 KB

Use this patch.

damienmckenna’s picture

Issue summary: View changes
damienmckenna’s picture

Assigned: gulshan verma » Unassigned
Issue tags: -Deprecated function: Method ReflectionProperty::setAccessible() is deprecated since 8.5, -as it has no effect since PHP 8.1 in +PHP 8.5

damienmckenna’s picture

  • damienmckenna committed 37ed2174 on 2.2.x
    Issue #3581128 by gulshan verma, damienmckenna: PHP 8.5 setAccessible...
damienmckenna’s picture

Status: Active » Fixed

Committed. Thank you.

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.

  • damienmckenna committed 37ed2174 on 2.3.x
    Issue #3581128 by gulshan verma, damienmckenna: PHP 8.5 setAccessible...

Status: Fixed » Closed (fixed)

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