New rector (10.2): Deprecate format_size()

Created on 11 January 2024, about 1 year ago
Updated 25 January 2024, about 1 year 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.71.5 2024