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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3182849-3.patch | 1.78 KB | bircher |
| #2 | config_ignore-3182849-2.patch | 1.27 KB | cozydrupalnerd |
Issue fork config_ignore-3182849
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
Comment #2
cozydrupalnerd commentedHere is the proposed patch.
Comment #3
bircherhow abut we just copy paste the method that does the same on 3.x
Comment #5
bircherThanks for opening the issue and the patch!