Support for PHP 8.3

Created on 1 March 2024, 9 months ago
Updated 2 July 2024, 5 months ago

Problem/Motivation

Deprecated: Creation of dynamic property Drupal\paragraph_blocks\Plugin\Deriver\ParagraphBlocksDeriver::$maxCardinality is deprecated in /DRUPAL_ROOT/modules/contrib/paragraph_blocks/src/Plugin/Deriver/ParagraphBlocksDeriver.php on line 39

https://git.drupalcode.org/project/paragraph_blocks/-/blob/3.x/src/Plugi...

Steps to reproduce

PHP 8.3
Just enable the module on the /admin/modules page.

Proposed resolution

Define a property in the ParagraphBlocksDeriver class.

And fix the anti-pattern https://mglaman.dev/blog/dependency-injection-anti-patterns-drupal

Remaining tasks

do it.

πŸ“Œ Task
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary Sweetchuck Budapest

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