Make LoggerProxy.php Psr\Log\LoggerInterface compatible.

Created on 11 December 2023, 12 months ago
Updated 22 December 2023, 11 months ago

Problem/Motivation

When I upgrade drupal 9 to drupal 10 and upgrade cms_content_sync from 2.2 to 3.0.3 I get error:

Fatal error: Declaration of Drupal\cms_content_sync\Controller\LoggerProxy::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in /app/docroot/modules/contrib/cms_content_sync/src/Controller/LoggerProxy.php on line 59

Steps to reproduce

Proposed resolution

Here is patch that adds compatibility codes.

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฌ๐Ÿ‡ชGeorgia chilaa

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