- Issue created by @shelane
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
Active
Code