Add support for PHP 8.2

Created on 9 August 2023, over 1 year ago
Updated 1 April 2024, 8 months ago

Problem/Motivation

Currently, when using this module with PHP 8.2, you get the following error:

Deprecated function: Creation of dynamic property Drupal\my_module\PreprocessService\Node\Page\Full::$applies_to is deprecated in Drupal\Component\DependencyInjection\Container->createService() (line 285 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal\Component\DependencyInjection\Container->createService(Array, 'my_module.node.page.full') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('my_module.node.page.full') (Line: 142)

the property applies_to is set, but this property doesn't exist in the PreprocessServiceBase class.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

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