Issue #3463329 by alexpott: \Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN is out-of-date

merge-requests/8806/merge
Dave Long 2024-07-23 13:42:34 +01:00
parent fbc03520b1
commit ca4903b79b
No known key found for this signature in database
GPG Key ID: ED52AE211E142771
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class ExtensionDiscovery {
*
* @see http://php.net/manual/functions.user-defined.php
*/
const PHP_FUNCTION_PATTERN = '/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/';
const PHP_FUNCTION_PATTERN = '/^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$/';
/**
* Previously discovered files keyed by origin directory and extension type.