Using ${var} in strings is deprecated

Created on 1 June 2023, over 1 year ago
Updated 30 November 2023, 12 months ago

Problem/Motivation

Using this module with php 8.2 and drupal 10 I am getting:

Deprecated function: Using ${var} in strings is deprecated, use {$var} instead in include() (line 571 of /vendor/composer/ClassLoader.php).

include('web/core/includes/bootstrap.inc') (Line: 571)
Composer\Autoload\includeFile('web/modules/contrib/easy_responsive_images/src/EasyResponsiveImagesManager.php') (Line: 428)
Composer\Autoload\ClassLoader->loadClass('Drupal\easy_responsive_images\EasyResponsiveImagesManager') (Line: 259)
Drupal\Component\DependencyInjection\Container->createService(Array, 'easy_responsive_images.manager') (Line: 177)
Drupal\Component\DependencyInjection\Container->get('easy_responsive_images.manager') (Line: 50)
Drupal\easy_responsive_images\Plugin\Field\FieldFormatter\EasyResponsiveImagesFormatter::create(Object, Array, 'easy_responsive_images', Array) (Line: 64)
Drupal\Core\Field\FormatterPluginManager->createInstance('easy_responsive_images', Array) (Line: 81)
Drupal\Core\Plugin\DefaultLazyPluginCollection->initializePlugin('easy_responsive_images') (Line: 80)
🐛 Bug report
Status

Fixed

Version

1.3

Component

Code

Created by

🇪🇸Spain aleix

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

Comments & Activities

Production build 0.71.5 2024