Drupal 9 fnmatch function fix.

Created on 16 November 2020, over 3 years ago
Updated 24 May 2023, about 1 year ago

Problem/Motivation

For Drupal 9 Compatibility, the fnmatch function should be removed, as stated by the Upgrade Status Message.

STATUS         LINE                           MESSAGE
--------------------------------------------------------------------------------
Check manually 93   Calls to function fnmatch should not exist.
--------------------------------------------------------------------------------
Check manually 122  Calls to function fnmatch should not exist.
--------------------------------------------------------------------------------

Proposed resolution

Proposing to change the fnmatch to a preg_match, that will follow a comparison string that mimics the functionality of fnmatch.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ACoolDevDude California

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.69.0 2024