Problem/Motivation

After PHP 8.2 upgrade I get "Deprecated function: Creation of dynamic property"

here https://git.drupalcode.org/project/views_rss/-/blob/8.x-2.x/src/Plugin/v...

Steps to reproduce

Upgrade site to PHP 8.2, see Watchdog

Proposed resolution

Don't use dynamic property

CommentFileSizeAuthor
#2 3412474.patch458 bytessidharth_soman

Comments

ivnish created an issue. See original summary.

sidharth_soman’s picture

StatusFileSize
new458 bytes

Here's a patch to remove the deprecation.

damienmckenna’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 3412474.patch, failed testing. View results

keshavv’s picture

Status: Needs work » Reviewed & tested by the community

Patch #2 LGTM. We can merge it.

damienmckenna’s picture

Status: Reviewed & tested by the community » Closed (duplicate)
Parent issue: » #3414012: Fix tests, module for Drupal 10.2 & PHP 8.2

I'm merging this into #3414012: Fix tests, module for Drupal 10.2 & PHP 8.2 as it's affecting the tests on 8.2.