New rector (10.2): Deprecate format_size()

Created on 11 January 2024, 6 months ago
Updated 25 January 2024, 5 months ago

Drupal version

10.2

Drupal Rector version

0.18.6

Problem / Motivation

The format_size() function in common.inc is deprecated in favour of using \Drupal\Core\StringTranslation\ByteSizeMarkup::create() that returns TranslatableMarkup

See πŸ“Œ Deprecate format_size() and use Drupal\Core\StringTranslation\ByteSizeMarkup instead Fixed

✨ Feature request
Status

Fixed

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands timohuisman Leiden, Netherlands

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

Comments & Activities

Production build 0.69.0 2024