backdrop-contrib / entity_plus

This module wraps in a variety of additional entity-related functionality from various sources. Partial port of D7 Entity API.
https://backdropcms.org/project/entity_plus
GNU General Public License v2.0
3 stars 11 forks source link

Define EntityDefaultExtraFieldsController's property `propertyInfo` #162

Open argiepiano opened 11 months ago

argiepiano commented 11 months ago

That property is not defined within the class. That causes PHP 8.2 to throw the warning: Deprecated function: Creation of dynamic property EntityDefaultExtraFieldsController::$propertyInfo is deprecated.

Drupal 7 already fixed this by simply defining it as a protected property. PR coming.

argiepiano commented 11 months ago

PR #163 ready for review.

argiepiano commented 11 months ago

Test failure is unrelated. I opened a new issue for that #164.

argiepiano commented 5 months ago

@laryn I went ahead and merged this simple PR as well, so that we can do a release. No more pending PRs for the moment.

argiepiano commented 5 months ago

Oops! By mistake I reverted my own commit, so no changes were made. I'll reopen. It's not urgent - just a warning in php 8.2.