Project Update bot set 10.3 as the minimum Drupal version after adding a DeprecationHelper function

Created on 5 August 2024, 8 months ago

Problem/Motivation

I had a rector patch by the bot come in to change this one line:

-    'file--' . file_icon_class($mime_type),
+    'file--' . \Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.3.0', fn() => \Drupal\file\IconMimeTypes::getIconClass($mime_type), fn() => file_icon_class($mime_type)),

But then it also changed this:

-core_version_requirement: ^9 || ^10
+core_version_requirement: ^10.3 || ^11

If it is adding a DeprecationHelper for older versions, it should still allow those older version in the core_version_requirement.

πŸ“Œ Automated Drupal 11 compatibility fixes for file_download Needs review

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shelane

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

Comments & Activities

Production build 0.71.5 2024