Problem/Motivation

  • Fix the following PHPUnit test failure:
    'file_validate_extensions' is deprecated in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'FileExtension' constraint instead. See https://www.drupal.org/node/3363700

Issue fork cloud-3586599

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yas created an issue. See original summary.

yas’s picture

Title: Refactor deprecated 'file_validate_extensions' to use the 'FileExtension' constraint instead in Drupal\Tests\openstack\Functional\OpenStack » Refactor deprecated 'file_validate_extensions' to use the 'FileExtension' constraint instead in OpenStackStackCreateForm::buildForm()
yas’s picture

Issue summary: View changes
yas’s picture

Title: Refactor deprecated 'file_validate_extensions' to use the 'FileExtension' constraint instead in OpenStackStackCreateForm::buildForm() » Refactor deprecated 'file_validate_extensions' to use the 'FileExtension' constraint instead in OpenStackStackCreateForm

yas’s picture

Status: Needs work » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@all

The local test has been passed successfully, so I'll merge the patch into 8.x branch. Thanks

  • yas committed 02276806 on 8.x
    Issue #3586599 by yas: Refactor deprecated 'file_validate_extensions' to...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.