Remove deprecation notices through PHPStan

Created on 20 June 2023, almost 2 years ago
Updated 4 October 2023, over 1 year ago

Problem/Motivation

There are currently two PHPStan issues:
"Access to an undefined property Drupal\fences\TagManager::$themeHandler", which leads to the deprecation notice: "Deprecated function: Creation of dynamic property Drupal\fences\TagManager::$themeHandler is deprecated in Drupal\fences\TagManager->__construct() (line 43 of modules/custom/fences-3306130/src/TagManager.php)" and " Array has 2 duplicate keys with value 'Classes and tags, with label' ('Classes and tags, with label', 'Classes and tags, with label')." which can be simply removed.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code (fences)

Created by

🇩🇪Germany Grevil

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

Comments & Activities

Production build 0.71.5 2024