2x: 'file_validate_extensions' is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'FileExtension' constraint instead.
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3584507. --> Reported by: [andybroomfield](https://www.drupal.org/user/636756) Related to !25 !26 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p> 2x: 'file_validate_extensions' is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'FileExtension' constraint instead. See <a href="https://www.drupal.org/node/3363700">https://www.drupal.org/node/3363700</a><br> 2x in AccessControlTest::testAllowAccess from Drupal\Tests\localgov_publications_importer\Functional</p> <p>Presumably this is why PHPUnit tests are failing.</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>Run the PHPUnit tests and check for the error message</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Use the 'FileExtension' constraint instead. See <a href="https://www.drupal.org/node/3363700">https://www.drupal.org/node/3363700</a></p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <p>Make the change<br> - check if the 2.x branch also needs this change.</p>
issue