Project Update bot set 10.3 as the minimum Drupal version after adding a DeprecationHelper function
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3466044. --> Reported by: [shelane](https://www.drupal.org/user/2674989) >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>I had a rector patch by the bot come in to change this one line:</p> <pre>-&nbsp;&nbsp;&nbsp; 'file--' . file_icon_class($mime_type),<br>+&nbsp;&nbsp;&nbsp; 'file--' . \Drupal\Component\Utility\DeprecationHelper::backwardsCompatibleCall(\Drupal::VERSION, '10.3.0', fn() =&gt; \Drupal\file\IconMimeTypes::getIconClass($mime_type), fn() =&gt; file_icon_class($mime_type)),</pre><p>But then it also changed this:</p> <pre>-core_version_requirement: ^9 || ^10<br>+core_version_requirement: ^10.3 || ^11</pre><p>If it is adding a DeprecationHelper for older versions, it should still allow those older version in the core_version_requirement.</p> <p><span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/file_download/issues/3430552" title="Status: Closed (fixed)">#3430552: Automated Drupal 11 compatibility fixes for file_download</a></span></p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue