Use of dynamic properties is deprecated in PHP 8.2+

Created on 23 August 2024, 3 months ago

Problem/Motivation

The following code is flagged for accessing undefined properties in classes. Dynamic properties are deprecated in PHP 8.2+, see https://www.php.net/manual/en/migration82.deprecated.php.

------ -----------------------------------------------------------------------------------------------------
  Line   modules/facets_summary/src/Processor/ProcessorPluginBase.php
 ------ -----------------------------------------------------------------------------------------------------
  98     Call to an undefined method Drupal\facets_summary\Processor\ProcessorPluginBase::addDependency().
  99     Access to an undefined property Drupal\facets_summary\Processor\ProcessorPluginBase::$dependencies.
         πŸ’‘ Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
 ------ -----------------------------------------------------------------------------------------------------

 ------ --------------------------------------------------------------------------------------
  Line   src/Entity/Facet.php
 ------ --------------------------------------------------------------------------------------
  429    Access to an undefined property Drupal\facets\Entity\Facet::$hierarchy_instance.
         πŸ’‘ Learn more: https://phpstan.org/blog/solving-phpstan-access-to-undefined-property
 ------ --------------------------------------------------------------------------------------

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States recrit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024